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

Add utility to validate GetMerkleRes #122

Merged

Conversation

tnull
Copy link
Contributor

@tnull tnull commented Oct 27, 2023

I recently needed to validate a Merkle inclusion proof as retrieved via transaction_get_merkle.

As I figured it might be useful to other people, too, we add it here as a simple utility method.

.. as it's convenient.
@tnull tnull force-pushed the 2023-10-validate-merkle-proof branch from 37bbe65 to 54fd52d Compare November 10, 2023 08:51
Copy link
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

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

ACK 54fd52d

Thanks for the addition, it's a handy thing to have in this project.

@notmandatory notmandatory merged commit e4d2b1d into bitcoindevkit:master Dec 7, 2023
1 check passed
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.

2 participants