Skip to content

Compute checksums for wallet descriptors without bitcoind#364

Open
JSwambo wants to merge 1 commit into
revault:masterfrom
JSwambo:fix_checksum
Open

Compute checksums for wallet descriptors without bitcoind#364
JSwambo wants to merge 1 commit into
revault:masterfrom
JSwambo:fix_checksum

Conversation

@JSwambo

@JSwambo JSwambo commented Feb 7, 2022

Copy link
Copy Markdown
Member

The desc_checksum function and poly_mod were taken from rust-miniscript: https://github.com/rust-bitcoin/rust-miniscript/blob/master/src/descriptor/checksum.rs
Hopefully the desc_checksum function will be publicly exposed in the future and we can remove it.

Fixes #322

@JSwambo

JSwambo commented Feb 11, 2022

Copy link
Copy Markdown
Member Author

When I test locally I don't get the same failure with test_spend.py::test_large_spends. Not sure why this is failing

@darosior

Copy link
Copy Markdown
Member

Yeah, spurious failure fixed by #361 . Rebasing on master should fix it.

The desc_checksum function and poly_mod were taken from rust-miniscript: https://github.com/rust-bitcoin/rust-miniscript/blob/master/src/descriptor/checksum.rs
Hopefully the desc_checksum function will be publicly exposed in the future and we can remove it.

@darosior darosior left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cosigner submodule change looks unrelated?..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't use bitcoind's RPC for the watchonly wallet descriptors checksums

2 participants