Skip to main content

Module bip_validation

Module bip_validation 

Source

Enums§

Bip147Network
Network type for BIP147 activation heights

Functions§

build_bip30_index
Build Bip30Index from an existing UTXO set (for IBD resume). Scans coinbase UTXOs and counts outputs per txid. O(n) over utxo_set.
check_bip30
Spec-locked to Orange Paper Section 5.4.1: CheckBip30
check_bip34
Spec-locked to Orange Paper Section 5.4.2: CheckBip34
check_bip66
Spec-locked to Orange Paper Section 5.4.3: CheckBip66
check_bip90
Spec-locked to Orange Paper Section 5.4.4: CheckBip90
check_bip30_network
Convenience: BIP30 check using network (builds activation table).
check_bip34_network
Convenience: BIP34 check using network.
check_bip54_coinbase
Spec-locked to Orange Paper Section 5.4: CheckBip54Coinbase
check_bip66_network
Convenience: BIP66 check using network (for script/signature callers).
check_bip90_network
Convenience: BIP90 check using network.
check_bip147
Spec-locked to Orange Paper Section 5.4.5: CheckBip147
check_bip147_network
Convenience: BIP147 check using network (Bip147Network for backward compatibility).
is_bip54_active
Spec-locked to Orange Paper Section 5.4: IsBip54Active
is_bip54_active_at
Spec-locked to Orange Paper Section 5.4: IsBip54ActiveAt

Type Aliases§

Bip30Index
BIP30 index: maps coinbase txid → count of unspent outputs. When count > 0, a coinbase with that txid has unspent outputs (BIP30 would reject duplicate). Uses FxHashMap for faster lookups on integer-like keys (#17).