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

feat(rpc): introduce FilterIter #1614

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

Conversation

ValuedMammal
Copy link
Contributor

@ValuedMammal ValuedMammal commented Sep 15, 2024

The PR adds a bip158 module to the bdk_bitcoind_rpc crate along with a new type FilterIter that can be used for retrieving blocks from a full node which contain transactions relevant to a list of script pubkeys.

Notes to the reviewers

Changelog notice

bdk_bitcoind_rpc: Added bip158 module as a means of updating bdk_chain structures

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

@evanlinjin
Copy link
Member

This is what we've all been waiting for.

@LLFourn
Copy link
Contributor

LLFourn commented Sep 30, 2024

ConceptACK. Don't have time for a full review now. @evanlinjin?

@notmandatory notmandatory added this to the 1.1.0 milestone Oct 15, 2024
@notmandatory notmandatory added the discussion There's still a discussion ongoing label Oct 15, 2024
crates/bitcoind_rpc/examples/bip158.rs Outdated Show resolved Hide resolved
crates/bitcoind_rpc/examples/bip158.rs Outdated Show resolved Hide resolved
crates/bitcoind_rpc/tests/bip158.rs Outdated Show resolved Hide resolved
crates/bitcoind_rpc/src/bip158.rs Outdated Show resolved Hide resolved
@ValuedMammal
Copy link
Contributor Author

Thanks for the review @oleonardolima

@ValuedMammal
Copy link
Contributor Author

Rebased and addressed comments from @oleonardolima

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion There's still a discussion ongoing module-blockchain new feature New feature or request
Projects
Status: Needs Review
Development

Successfully merging this pull request may close these issues.

5 participants