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
- Branch
- sc-rm-invalidate
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 32525 Build 64538: Build Diff build-without-wallet · build-debug · build-clang-tidy · build-clang · lint-circular-dependencies · build-diff Build 64537: arc lint + arc unit
Event Timeline
src/avalanche/test/stakecontendercache_tests.cpp | ||
---|---|---|
262 ↗ | (On Diff #52789) | Not this one ? There is no check for rejection after a finalization |