pub(crate) async fn validate_proposal_view_and_certs<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
proposal: &Proposal<TYPES, QuorumProposal2<TYPES>>,
validation_info: &ValidationInfo<TYPES, I, V>,
) -> Result<()>
Expand description
Validates, from a given proposal
that the view that it is being submitted for is valid when
compared to cur_view
which is the highest proposed view (so far) for the caller. If the proposal
is for a view that’s later than expected, that the proposal includes a timeout or view sync certificate.
§Errors
If any validation or view number check fails.