Don't use bitcoind
's RPC for the watchonly wallet descriptors checksums
#322
Labels
bitcoind
's RPC for the watchonly wallet descriptors checksums
#322
For the watchonly wallet, we import
addr()
descriptors tobitcoind
since it does not handle Miniscript yet. A descriptor must have a checksum to be imported to bitcoind. Back when i implemented this rust-miniscript did not have support for descriptor checksums. I used the hack of callinggetdescriptorinfo
before importing a descriptor to gather the checksum for each and every descriptor we import (hundreds on first startup).Now that rust-miniscript does support them it's an unnecessary hack and performance hit. Replace it with just using the checksums provided by rust-miniscript.
The text was updated successfully, but these errors were encountered: