Registry / crypto / bitcoin-chain-consensus

bitcoin-chain-consensus

JSON →
library0.1.16-alpha.0rscratesunverified

Structures for handling consensus on the Bitcoin blockchain.

# Cargo.toml [dependencies] bitcoin-chain-consensus = "0.1.16-alpha.0"
INSTALL
IMPORT
SIG · BITCOIN-CHAIN-CONS
B
bitcoin-chain-consensus
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.

ConsensusParams
use bitcoin_chain_consensus::ConsensusParams;

Get mainnet consensus parameters.

use bitcoin_chain_consensus::ConsensusParams; let params = ConsensusParams::mainnet(); println!("{:?}", params);
Debug
Known issues
breakingAlpha version; API may change.
fix
Pin to a specific version and monitor updates.
affects: >=0.1.16-alpha.0
Upgrade
Version history
0.1.16-alpha.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
22
Resources
bitcoin-chain-consensus — cargo add bitcoin-chain-consensus · libregistry