forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't vote for empty leader transmissions (solana-labs#3248)
* Don't vote for empty leader transmissions * Add is_delta flag to bank to detect empty leader transmissions * Plumb new is_votable flag through replay stage * Fix PohRecorder tests * Change is_delta to AtomicBool to avoid making Bank references mutable * Reset start slot in poh_recorder when working bank is cleared, so that connsecutive TPU's will start from the correct place * Use proper max tick height calculation * Test for not voting on empty transmission * tests for is_votable
- Loading branch information
Showing
3 changed files
with
141 additions
and
49 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
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