pub fn get_block_script_flags(
block_hash: &[u8; 32],
tx: &Transaction,
has_witness: bool,
height: u64,
network: Network,
) -> u32Expand description
Orange Paper §5.2.6: exception table wins when defined; otherwise per-tx CalculateScriptFlags.
Note: Bitcoin Core’s GetBlockScriptFlags (validation.cpp) starts from a default mask, applies
this exception table, then ORs buried deployments (BIP66, BIP65, CSV, BIP147). connect_block
uses get_block_script_verify_flags_core for that Core behavior; this function remains the
Orange Paper §5.2.6 piecewise spec.