Context
Once PendingTree supports both certified and pending blocks integrate it in the compliance engine and change how the block processing logic is implemented. Specifically the new workflow should look something like this:
- Receive new block from the committee
- Check if block needs processing(dedup, already processed, have another block for this view)
- Check if leader is equivocating.
- Validate proposal
- Add proposal to the
PendingTree.
- If proposal connects to the finalized state, extend the block state.