--- Log opened Tue Mar 02 00:00:45 2021 06:07 -!- roconnor [~roconnor@host-104-157-194-235.dyn.295.ca] has joined ##miniscript 06:35 -!- afilini [~user@gateway/tor-sasl/afilini] has quit [Ping timeout: 268 seconds] 06:39 -!- afilini [~user@gateway/tor-sasl/afilini] has joined ##miniscript 06:41 -!- jonatack [~jon@37.164.30.247] has joined ##miniscript 07:04 -!- jonatack [~jon@37.164.30.247] has quit [Read error: Connection reset by peer] 07:22 -!- geyaeb_ [~geyaeb@gateway/tor-sasl/geyaeb] has quit [Remote host closed the connection] 07:22 -!- geyaeb [~geyaeb@gateway/tor-sasl/geyaeb] has joined ##miniscript 07:26 -!- afilini [~user@gateway/tor-sasl/afilini] has quit [Remote host closed the connection] 07:26 -!- afilini [~user@gateway/tor-sasl/afilini] has joined ##miniscript --- Log closed Tue Mar 02 07:44:27 2021 --- Log opened Tue Mar 02 07:44:27 2021 08:10 -!- jonatack [~jon@37.164.30.247] has joined ##miniscript 09:08 -!- jonatack [~jon@37.164.30.247] has quit [Ping timeout: 260 seconds] 09:10 -!- jonatack [~jon@37.164.30.247] has joined ##miniscript 09:17 < darosior> Hmm rust-miniscript compiles thresh(1, pkA) to "0353b9ed5424f9d95fdf0f3e9e706db97ec6175fc728bbaa637dddb7efbfd3fa7f OP_CHECKSIG 1 OP_EQUAL", this could be YA special case? 09:19 < andytoshi> what is YA 09:19 < darosior> Yet Another 09:19 < darosior> I mean we could special case it in the compiler ? 09:19 < andytoshi> ah yep i see 09:20 < andytoshi> i'm a little surprised the existing special cases don't get it 09:20 < andytoshi> shuoldn't it be read as and(pkA) which shoul then turn into pkA 09:22 < darosior> Hmm 09:23 < darosior> I think we'd even panic there https://github.com/rust-bitcoin/rust-miniscript/blob/42367cf75b0db6c82cabd1343613a5457404aa07/src/policy/compiler.rs#L1003 if subs.len() == 1 09:26 < andytoshi> oh interesting, i wonder why ... i think we should just drop the and() if it's unary 09:26 < andytoshi> oh 09:26 < andytoshi> because we also don't support n > 2 09:26 < andytoshi> oh no 09:26 < andytoshi> yeah i think we were just being lazy 09:27 < darosior> Opened an issue to track it https://github.com/rust-bitcoin/rust-miniscript/issues/237, will tackle this 09:47 < andytoshi> thanks! 13:06 -!- justinmoon [~quassel@157.245.122.126] has quit [Read error: Connection reset by peer] 13:07 -!- justinmoon [~quassel@157.245.122.126] has joined ##miniscript 15:13 -!- jonatack [~jon@37.164.30.247] has quit [Ping timeout: 276 seconds] 16:58 -!- geyaeb [~geyaeb@gateway/tor-sasl/geyaeb] has quit [Ping timeout: 268 seconds] 16:58 -!- geyaeb_ [~geyaeb@gateway/tor-sasl/geyaeb] has joined ##miniscript 20:45 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 20:46 -!- shesek [~shesek@164.90.217.137] has joined ##miniscript 20:46 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 20:46 -!- shesek [~shesek@unaffiliated/shesek] has joined ##miniscript --- Log closed Wed Mar 03 00:00:45 2021