pub const WITNESS_COMMITMENT_SCRIPT_LENGTH: usize = 34 /* 34usize */;Expand description
Witness commitment script length (BIP141)
Total length of witness commitment script:
- OP_RETURN (0x6a): 1 byte
- Push opcode (0x24): 1 byte
- Commitment hash: 32 bytes Total: 34 bytes