HomePhabricator

[avalanche] Don't override cooldown with old rounds

Description

[avalanche] Don't override cooldown with old rounds

Summary: This was marked as FIXME since the initial version. This diff solves it by storing the last round that updated the value in the node so it only updates if this is a newer round.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Mar 31 2026, 13:03
FabienPushed on Mar 31 2026, 19:53
Reviewer
Restricted Project
Differential Revision
D19757: [avalanche] Don't override cooldown with old rounds
Parents
rABC15c3a21cc738: util: Move util/string.h functions to util namespace
Branches
Unknown
Tags
Unknown