--- Log opened Mon Dec 28 00:01:02 2020 02:20 -!- dr-orlovsky [~dr-orlovs@31.14.40.19] has quit [Ping timeout: 260 seconds] 02:54 -!- dr-orlovsky [~dr-orlovs@31.14.40.19] has joined ##miniscript 04:09 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 04:33 -!- jonatack [~jon@88.124.242.136] has joined ##miniscript 05:50 -!- jeremyrubin [~jr@2607:fb90:46c:8e30:300e:3023:6b28:256b] has quit [Ping timeout: 260 seconds] 06:25 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 06:26 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined ##miniscript 06:34 -!- jonatack [~jon@88.124.242.136] has quit [Ping timeout: 264 seconds] 06:34 -!- jonatack [~jon@213.152.162.10] has joined ##miniscript 10:38 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has quit [Remote host closed the connection] 10:38 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 10:38 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Write error: Broken pipe] 10:38 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined ##miniscript 10:45 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has joined ##miniscript 10:54 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined ##miniscript 11:00 < sanket1729> andytoshi: facing these issues for elements-miniscript https://gist.github.com/sanket1729/32c23c9a8023f4327ed92f47c84975a7#file-temp-rs-L439-L442. and https://gist.github.com/sanket1729/32c23c9a8023f4327ed92f47c84975a7#file-temp-rs-L487-L497 11:05 < andytoshi> sanket1729: ah, interesting .. so, the ToPkCtx for LegacyPegin needs to be richer than that for Pk 11:06 < andytoshi> so "where Pk: ToPublicKey" is not the right bound... 11:06 < andytoshi> but that is teh bound in the trait. gross 11:06 < sanket1729> Yeah 11:07 < andytoshi> the other issue is similar 11:10 < andytoshi> sigh. as always, rust is more restrictive than C++ and lacks the expressivity to justify it 11:18 < andytoshi> so, we could do a runtime check 11:18 < andytoshi> add a `get_secp_context -> Option` to ToPkCtwx 11:18 < andytoshi> this would suck, and bm pretty messy because there are multiple kinds of verifaciton-enabled secp contexts 11:19 < andytoshi> sanket1729: i think, we may need to make ToPkCtx a parameter of the BtcDescriptor trait 11:20 < andytoshi> then we could add extra bounds on it for PeginDescriptor 11:20 < sanket1729> As a associated type 11:20 < andytoshi> no, as a generic 11:20 < andytoshi> if it were an associated type we'd have all the usual issues with users being forced to choose one type of context 11:21 < sanket1729> Will try adding it as a generic and see how far I can go 11:21 < andytoshi> heh, thanks 11:25 -!- andytoshi [~apoelstra@unaffiliated/andytoshi] has quit [Quit: leaving] 11:26 -!- andytoshi [~apoelstra@wpsoftware.net] has joined ##miniscript 11:26 -!- andytoshi [~apoelstra@wpsoftware.net] has quit [Changing host] 11:26 -!- andytoshi [~apoelstra@unaffiliated/andytoshi] has joined ##miniscript 11:45 -!- jeremyrubin [~jr@2607:fb90:8062:c5e6:300e:3023:6b28:256b] has joined ##miniscript 20:30 -!- jeremyrubin [~jr@2607:fb90:8062:c5e6:300e:3023:6b28:256b] has quit [Ping timeout: 264 seconds] 20:31 -!- jeremyrubin [~jr@2601:645:c200:14:346f:5d3:a503:bdf1] has joined ##miniscript --- Log closed Tue Dec 29 00:01:01 2020