pub async fn verify_proposal(
    consensus: &Consensus,
    proposal: &Proposal,
    verify_fees: bool
) -> Result<(Fork, Option<usize>)>
Expand description

Verify given Proposal against provided consensus state, A proposal is considered valid when the following rules apply: 1. Proposal hash matches the actual block one 2. Block transactions don’t exceed set limit 3. Block is valid Additional validity rules can be applied.