Page MenuHomePhabricator

[avalanche] Account for network propagation time for staking rewards
ClosedPublic

Authored by Fabien on Mar 27 2024, 13:44.

Details

Summary

There is a delay before a proof can be selected for staking rewards, which can cause discrepeancy due to the proof propagation/registration time. To avoid this we allow for an additional winner if the proof is in a recent registration time range. This does not change the winner selected by the miner.

Test Plan
ninja check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
staking_reward_timing_slack
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28087
Build 55719: Build Diffbuild-clang · build-diff · build-debug · build-clang-tidy · lint-circular-dependencies · build-without-wallet
Build 55718: arc lint + arc unit