Skip to main content

Module segwit

Module segwit 

Source

Functions§

calculate_block_weight
Spec-locked to Orange Paper Section 11.1.1: CalculateBlockWeight
calculate_block_weight_from_nested
Spec-locked to Orange Paper Section 11.1.1: CalculateBlockWeightFromNested
calculate_transaction_weight
Spec-locked to Orange Paper Section 11.1.1: CalculateTransactionWeight
compute_witness_merkle_root
Spec-locked to Orange Paper Section 11.1.4: ComputeWitnessMerkleRoot
compute_witness_merkle_root_from_nested
Spec-locked to Orange Paper Section 11.1.4: ComputeWitnessMerkleRootFromNested
is_segwit_transaction
Spec-locked to Orange Paper Section 11.1.6: IsSegWitTransaction
validate_segwit_block
Spec-locked to Orange Paper Section 11.1.7: ValidateSegWitBlock
validate_witness_commitment
Spec-locked to Orange Paper Section 11.1.5: ValidateWitnessCommitment

Type Aliases§

Witness
Witness data: stack of witness elements (SegWit/Taproot)