HomePhabricator

[avalanche] Promote and poll contenders as soon as quorum is active

Description

[avalanche] Promote and poll contenders as soon as quorum is active

Summary:
This diff accomplishes a few things:

  1. Contender promotion becomes generally more robust to future changes.
  2. A miner restarting a node no longer faces uncertainty of the staking rewards payout address in getblocktemplate, since prior to this change, a block would need to be mined before contenders began polling.
  3. Improves resilience of the network if many nodes are restarted for any reason. This is especially important when coupled with 2.

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17986

Details

Provenance
roqqitAuthored on Wed, Apr 23, 21:09
roqqitPushed on Fri, Apr 25, 17:33
Reviewer
Restricted Project
Differential Revision
D17986: [avalanche] Promote and poll contenders as soon as quorum is active
Parents
rABC9c382b186b14: [CI] Improve artifacts management and allow for custom artifact directory
Branches
Unknown
Tags
Unknown