Registry / crypto / bitcoin-bloom

bitcoin-bloom

JSON →
library0.1.16-alpha.0rscratesunverified

Implements a bloom filter for probabilistic filtering in Bitcoin SPV clients to enable efficient transaction and block downloads.

# Cargo.toml [dependencies] bitcoin-bloom = "0.1.16-alpha.0"
INSTALL
IMPORT
SIG · BITCOIN-BLOOM
B
bitcoin-bloom
cryptorustv0.1.16-alpha.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BloomFilter
use bitcoin_bloom::BloomFilter;

Creates a new bloom filter with given capacity and false positive rate.

use bitcoin_bloom::BloomFilter; fn main() { let filter = BloomFilter::new(100, 0.01); println!("Bloom filter created"); }
Debug
Known issues
gotchaThis crate is marked as alpha and may have unstable API.
fix
Check the documentation for breaking changes before upgrading.
affects: >=0.1.0
Upgrade
Version history
0.1.16-alpha.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
Resources
bitcoin-bloom — cargo add bitcoin-bloom · libregistry