revaultd
revaultd copied to clipboard
bitcoind: sanity check descriptors were imported
At startup, if a watchonly wallet isn't present we'll create and import the descriptors. If one is, we'll just assume the descriptors were successfully imported in it. It would be more robust to sanity check that descriptors were indeed imported: https://github.com/revault/revaultd/blob/e72146ecbf6c1fb8e498aeb0bccbb3f82a6126c7/src/bitcoind/poller.rs#L1715-L1717
lol i had a 2 years old issue for this already: https://github.com/revault/revaultd/issues/35. Keeping this one as it's more detailed.