Function validate_block

Source
pub fn validate_block<T: Validator + ?Sized>(
    self_: &T,
    proof: &TxoProof,
    height: u32,
    header: &Header,
    external_block_hash: Option<&BlockHash>,
    prev_filter_header: &FilterHeader,
    outpoint_watches: &[OutPoint],
    trusted_oracle_pubkeys: &Vec<PublicKey>,
) -> Result<(), ValidationError>
Expand description

Validate a block and a TXOO proof for spent/unspent watched outputs