HomePhabricator

[avalanche] Fix the finalized proof count being wrong when pending nodes…

Description

[avalanche] Fix the finalized proof count being wrong when pending nodes reconnect

Summary: If a finalized proof is discarded due to missing nodes, and a node later reconnects, the proof is not polled again as expected but the finalization flag is not set properly on the peer. This diff fixes the count and add a test case that reproduces the issue. Note that only the RPC output is affected by this change.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

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

Details

Provenance
FabienAuthored on Jul 25 2023, 12:54
FabienPushed on Jul 25 2023, 13:44
Reviewer
Restricted Project
Differential Revision
D14309: [avalanche] Fix the finalized proof count being wrong when pending nodes reconnect
Parents
rABCa90f360ea2b2: [electrum] publish release notification for 5.2.6
Branches
Unknown
Tags
Unknown