verify_fork_proposal

Function verify_fork_proposal 

Source
pub async fn verify_fork_proposal(
    fork: &mut Fork,
    proposal: &Proposal,
    verify_fees: bool,
) -> Result<()>
Expand description

Verify given Proposal against provided fork state.

A proposal is considered valid when the following rules apply: 1. Proposal hash matches the actual block one 2. Block is valid Additional validity rules can be applied.