This provides a stronger guarantee that once a contender is finalized, it will never be reverted, even if the system managed to re-poll a finalized contender. We don't really care that invalidated contenders do not get removed from the winner set so long as blocks get mined with staking rewards going to a finalized contender.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCdc136cfed9c4: [avalanche] Simplify contenders by treating rejection and invalidation the same
ninja check check-functional
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/avalanche/test/stakecontendercache_tests.cpp | ||
---|---|---|
262 ↗ | (On Diff #52789) | Not this one ? There is no check for rejection after a finalization |