Sending a conflicting proof is a normal situation, however a peer sending several conflicting proofs in a short time frame is very likely adversarial. This diff adds a small banscore in case a conflicting proof is received while the conflicting proofs cooldown is not elapsed, which indicates such a behavior and will eventually ban the bad peer.
Details
Details
- Reviewers
sdulfari - Group Reviewers
Restricted Project - Commits
- rABC25b171bd59e1: [avalanche] Ban peers that send conflicting proofs repeatidly
ninja all check-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- avalanche_ban_repeated_conflicting_proofs
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 19627 Build 38973: Build Diff build-clang-tidy · build-without-wallet · build-debug · lint-circular-dependencies · build-clang · build-diff Build 38972: arc lint + arc unit