Structs§
- Bip9
Deployment - BIP9 deployment parameters (bit index and time window).
Constants§
- ACTIVATION_
THRESHOLD - BIP9 activation threshold (95% of LOCK_IN_PERIOD).
- LOCK_
IN_ PERIOD - BIP9 lock-in period (2016 blocks).
Functions§
- activation_
height_ from_ headers - Computes the activation height for a BIP9 deployment from recent block headers.
- bip54_
deployment_ for_ network - Returns the appropriate BIP54 deployment for
network. - bip54_
deployment_ mainnet - Returns the BIP54 deployment for mainnet when using version-bits activation.
- bip54_
deployment_ regtest - Returns the BIP54 deployment for regtest.
- bip54_
deployment_ testnet - Returns the BIP54 deployment for testnet3.
- merge_
bip54_ activation_ candidate - Combine a running BIP54/version-bits activation height with a new candidate from
activation_height_from_headers. Keeps the minimum (earliest) height.