StakeContenderId will enable the node to poll for potential stake winners (as a new CInv type). This will further enable pre-consensus on staking rewards to ensure that nodes validate the same winner set even if some proofs are missing from some nodes' proof sets.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rABC5ad50cf4eb85: [avalanche] Introduce StakeContenderId
ninja check-avalanche
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- sw-id
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 29954 Build 59443: Build Diff lint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang · build-clang-tidy Build 59442: arc lint + arc unit
Event Timeline
Comment Actions
- cleanups
- strongly type StakeContenderId
- switch to blockhash + proofid instead of blockhash + payoutscript since this could be more versatile down the road
- streamlined implementation a bit, which eliminated stakecontender.cpp
src/avalanche/stakecontender.h | ||
---|---|---|
25 ↗ | (On Diff #49191) | needs to include hash.h for the Hash function |