Skip to content

Possible path for removing bitcoinconsesnus dependency?? #7

@rajarshimaitra

Description

@rajarshimaitra

The bitcoinconsensus crate is used to do the proof verification here https://github.com/weareseba/bdk-reserves/blob/61b5f517f4c227bdf62507d1fcc2fd79bb87db8d/src/reserves.rs#L273-L279

BDK exposes a very similar functionality in the wallet api itself with the verify feature flag and uses the same bitcoinconsensus underneath like this..

https://github.com/bitcoindevkit/bdk/blob/2283444f727b85663b19d100af86db4392ebc891/src/wallet/verify.rs#L58-L68

This api is publicly exposed via verify feature of BDK.. So may be one more opportunity to reduce external dependency on bitcoinconsensus??

But might need some restructuring of the proof verification logic in this crate..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions