Skip to main content

append_witness_commitment_from_nested

Function append_witness_commitment_from_nested 

Source
pub fn append_witness_commitment_from_nested(
    coinbase: &mut Transaction,
    txs: &mut [Transaction],
    nested: Option<&[Vec<Vec<Vec<u8>>>]>,
) -> Result<(), ConsensusError>
Expand description

Same as append_witness_commitment, using per-tx per-input stacks. nested[i] is the witness for txs[i]. Coinbase wtxid stays 0.