Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute checksums for wallet descriptors without bitcoind #364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JSwambo
Copy link
Member

@JSwambo JSwambo commented Feb 7, 2022

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
Copy link
Member Author

JSwambo commented Feb 11, 2022

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
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.
Copy link
Member

@darosior darosior left a comment

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