Skip to main content Module bip_validation Copy item path Source Bip147Network Network type for BIP147 activation heights 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 BIP30: Duplicate Coinbase Prevention check_bip34 BIP34: Block Height in Coinbase check_bip66 BIP66: Strict DER Signature Validation check_bip90 BIP90: Block Version Enforcement check_bip30_network Convenience: BIP30 check using network (builds activation table). check_bip34_network Convenience: BIP34 check using network. check_bip54_coinbase BIP54: Coinbase nLockTime and nSequence (Consensus Cleanup). check_bip66_network Convenience: BIP66 check using network (for script/signature callers). check_bip90_network Convenience: BIP90 check using network. check_bip147 BIP147: NULLDUMMY Enforcement check_bip147_network Convenience: BIP147 check using network (Bip147Network for backward compatibility). is_bip54_active BIP54: Consensus Cleanup activation (constant-only). is_bip54_active_at BIP54: Consensus Cleanup activation (with optional override). 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).