--- Log opened Wed Sep 09 00:00:13 2020 00:30 -!- jonatack [~jon@37.171.144.181] has joined ##hwi 00:34 -!- jonatack [~jon@37.171.144.181] has quit [Ping timeout: 260 seconds] 00:36 -!- jonatack [~jon@109.232.227.138] has joined ##hwi 02:54 -!- provoostenator [~quassel@provoostenator.sprovoost.nl] has quit [Ping timeout: 272 seconds] 03:15 -!- jonatack [~jon@109.232.227.138] has quit [Ping timeout: 264 seconds] 04:24 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 04:24 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined ##hwi 05:04 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined ##hwi 08:01 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Quit: jonatack] 08:04 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined ##hwi 10:54 < ghost43> could someone have a look at this? https://gist.github.com/SomberNight/8d7b065e74449a8716da9a98cac3cae2 10:54 < ghost43> getdescriptorinfo and importmulti disagree on what the "correct" checksum is 10:57 < ghost43> maybe because of tpub/regtest combo? 11:05 < gwillen> ghost43: I think the problem might be with your use of single quotes? 11:05 < gwillen> you have the single quotes of the descriptor inside the single quotes you're using to quote it 11:05 < gwillen> which are getting mangled by the shell 11:05 < ghost43> gwillen: no, it works if I change the checksum to what it is suggesting 11:06 < gwillen> yes but I think that's because it's the correct checksum for the wrong descriptor 11:06 < gwillen> because the shell is removing your internal single quotes, effectively 11:06 < gwillen> so it's turning all your derivations into public by accident 11:07 < gwillen> if you had an odd number of them it would fail, but by luck you have an even number so the shell thinks they are matching quotation marks 11:07 < gwillen> try putting "echo" in front of "bitcoin-cli" and see what gets echoed 11:07 < gwillen> I bet you will see your descriptor get mangled 11:08 < gwillen> I filed this issue awhile ago to switch the default from ' to h, but I let it fall by the wayside... https://github.com/bitcoin/bitcoin/issues/15740 11:17 < ghost43> gwillen: right, yes, that was the main issue. there is still another thing - I guess I don't understand getdescriptorinfo... why is are there two different checksums in the return value? 11:17 < ghost43> the hex after the "#", and the value for the "checksum" key are different 11:18 < ghost43> and importmulti wants the value for the checksum key, so I can't just copy-paste the "descriptor" returned by getdescriptorinfo. very confusing 11:20 < gwillen> yeah, that's a little confusing 11:20 < gwillen> the "checksum" field is the checksum for the descriptor you provided 11:21 < gwillen> the returned descriptor may be different from the descriptor you provided, because it's parsed in and then printed out again from the parsed form, so e.g. all the "h" changed to "'" 11:21 < gwillen> which means it has a different checksum 11:21 < gwillen> so the "checksum" field corresponds to the descriptor you originally passed in, and you can append it to that with "#" and it should work 11:22 < gwillen> with the shell quoting issue fixed, importmulti should accept either version 11:25 < ghost43> ah I see. thanks 11:34 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Remote host closed the connection] 11:35 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined ##hwi 11:39 < gwillen> np, glad I could help! 11:51 < achow101> apparently the dependencies bump broke some stuff. So I'm going to branch 1.x at the merge commit before that 11:52 < achow101> fixing the broken stuff requires updating the vendor libs and updating trezorlib is far more involved than it probably should be 12:18 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Remote host closed the connection] 15:15 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined ##hwi 15:50 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Remote host closed the connection] 15:51 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined ##hwi 20:32 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 260 seconds] 20:34 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined ##hwi --- Log closed Thu Sep 10 00:00:14 2020