HomePhabricator

[avalanche] Don't ban a peer sending a proof with an unknown utxo

Description

[avalanche] Don't ban a peer sending a proof with an unknown utxo

Summary: It is possible for a peer to send a proof with a utxo from a block we don't have yet, especially after IBD completed since the latch is set after we got a block with time in the last 24h.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

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

Details

Provenance
FabienAuthored on Jul 29 2022, 12:34
FabienPushed on Jul 31 2022, 19:25
Reviewer
Restricted Project
Differential Revision
D11815: [avalanche] Don't ban a peer sending a proof with an unknown utxo
Parents
rABCcb78d2179d2d: [avalanche] Request more peers for their avalanche nodes
Branches
Unknown
Tags
Unknown