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

Convert into the Electrum SPV proof format from the bitcoind merkleblock format #36

Open
shesek opened this issue Jun 7, 2020 · 0 comments
Labels
electrum enhancement New feature or request

Comments

@shesek
Copy link
Collaborator

shesek commented Jun 7, 2020

bwt currently constructs the electrum spv proofs for transactions using the list of txids in the confirming block (retrieved via getblock with verbose=1), which is a rather large list that needs to be fetched separately for every transaction.

This could be improved by converting the bitcoind merkleblock spv proof into the format expected by electrum, which is implemented by EPS here.

Ideally though, users should probably just configure electrum with --skipmerklecheck and bwt with --electrum-skip-merkle, as the spv proofs don't really add much in the context of a trusted self-hosted full node setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electrum enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant