--- Log opened Thu Aug 05 00:00:29 2021 00:40 < darosior> sanket1729, andytoshi: would you mind if we do a point release with the lifter fix? 00:45 < darosior> This was the only change (actually a fix) merged since 6.0.0, so we wouldn't break downstream. But maybe we can get more fixed in before? Maybe #246 as pure fix. #254 would be nice but not sure it's ready? 00:51 < darosior> Went ahead and made https://github.com/rust-bitcoin/rust-miniscript/pull/262 so that if you decide yes :p 02:23 -!- meshcollider [meshcollid@user/meshcollider] has quit [Ping timeout: 272 seconds] 02:45 -!- meshcollider [meshcollid@meshcollider.jujube.ircnow.org] has joined ##miniscript 04:06 -!- sandipndev [sandipndev@2600:3c00::f03c:92ff:fe8e:dce6] has joined ##miniscript 04:15 < sandipndev> Hi, had a small question. How can we negate the `older` policy? Like what should be the proper policy for `or(and(pk(A),not(older(1000)),and(pk(B),older(1000)))`? 04:24 < darosior> Hi sandipndev. You can't dissatisfy a older() 04:28 < sandipndev> How can we ensure A doesn't have access after 1000 blocks? 05:43 < darosior> sandipndev: you can't in Bitcoin, these has been debated a lot on the ML :) 05:43 < darosior> this* 06:36 < sandipndev> I see, thanks darosior for the help! 08:49 -!- roconnor [~roconnor@host-45-78-236-232.dyn.295.ca] has joined ##miniscript 09:06 < sanket1729> sandipndev: What is the policy that you are willing to implement. There are other ways to achieve your effect 09:07 < sanket1729> One way might to make the funds as anyone can spend after 1000 blocks 09:08 < sanket1729> A also has access to funds, but so does anyone. In practice we could expect miners could get all the funds. Maybe this effect is okay of your application 09:09 < sanket1729> darosior: done https://crates.io/crates/miniscript 09:10 <@sipa> sandipndev: or you can have a pre-signed transaction that moves the same coins back to the sender, locktimed 1000 blocks in the future 09:10 <@sipa> so that it can RBF the other one 09:12 < darosior> sanket1729: thanks! 10:17 < sandipndev> sanket1729: I am trying to make a policy where A can spend only before 1000 blocks and B can spend only after 1000 blocks. 10:18 <@sipa> sandipndev: such a policy cannot be encoded in a bitcoin transaction 10:18 <@sipa> but you can use multiple transactions to emulate it 10:22 < sandipndev> makes sense, thanks! --- Log closed Fri Aug 06 00:00:31 2021