Skip to main content

verify_supply

Function verify_supply 

Source
pub fn verify_supply(commitment: &UtxoCommitment) -> UtxoCommitmentResult<bool>
Expand description

Verify that a UTXO commitment’s supply matches expected Bitcoin supply

Checks that the total supply in the commitment equals the sum of all block subsidies up to the commitment’s block height.