-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline
propose_block
and simplify `process_pending_block_without_pr…
…epare`. (#2938) * Inline propose_block. * Simplify process_pending_block_without_prepare. * Move re-proposing the locked block to a separate if block. * Return errors directly from round_for_new_proposal. * Extract more logic from process_pending_block_without_prepare. * Update the state from info inside the chain_info methods. * Extract request_leader_timeout_if_needed. * Extract finalize_locked_block. * Avoid cloning the block. * Return round timeout directly from round_for_new_proposal.
- Loading branch information
Showing
4 changed files
with
187 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.