BlockSums

/// The output_sum and kernel_sum for a given block.
/// This is used to validate the next block being processed by applying
/// the inputs, outputs, kernels and kernel_offset from the new block
/// and checking everything sums correctly.
#[derive(Debug, Clone)]
pub struct BlockSums {
    /// The sum of the unspent outputs.
    pub utxo_sum: Commitment,
    /// The sum of all kernels.
    pub kernel_sum: Commitment,
}

results matching ""

    No results matching ""