Page MenuHomePhabricator

[avalanche] Introduce a conflicting proof cooldown
AbandonedPublic

Authored by Fabien on Dec 14 2021, 15:51.

Details

Reviewers
None
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Summary

This will reject any proof that conflict with a peer which has been registered in under 1h (default value). This rate limit will prevent an attacker from impacting the network by constantly replacing a peer, or generating proof polls to solve the conflict.

Ref T1854.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_conflicting_proof_cooldown
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17627
Build 35080: Build Diffbuild-without-wallet · build-clang · build-diff · build-clang-tidy · build-debug · lint-circular-dependencies
Build 35079: arc lint + arc unit