Registry / networking / bitcoin-banman

bitcoin-banman

JSON →
library0.1.16-alpha.0rscratesunverified

Manages banning and discouragement of peers in a Bitcoin network.

# Cargo.toml [dependencies] bitcoin-banman = "0.1.16-alpha.0"
INSTALL
IMPORT
SIG · BITCOIN-BANMAN
B
bitcoin-banman
networkingrustv0.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.

BanMan
use bitcoin_banman::BanMan;

Creates a ban manager and bans a peer IP.

use bitcoin_banman::BanMan; fn main() { let mut banman = BanMan::new(); banman.ban("192.168.1.1".parse().unwrap()); println!("Banned peer."); }
Debug
Known issues
breakingAlpha version; API may change.
fix
Pin to a specific version and monitor updates.
affects: >=0.1.0 <0.2.0
Upgrade
Version history
0.1.16-alpha.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
bitcoin-banman — cargo add bitcoin-banman · libregistry