pub async fn validate_proposal_view_and_certs<TYPES: NodeType, V: Versions>(
proposal: &Proposal<TYPES, QuorumProposal<TYPES>>,
cur_view: TYPES::Time,
quorum_membership: &Arc<TYPES::Membership>,
timeout_membership: &Arc<TYPES::Membership>,
upgrade_lock: &UpgradeLock<TYPES, 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.