HomePhabricator

Refactor ProofPool::addProofIfPreferred

Description

Refactor ProofPool::addProofIfPreferred

Summary: This reduce nesting and reliance on state.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Dec 14 2021, 18:12
deadalnixPushed on Dec 15 2021, 17:12
Reviewer
Restricted Project
Differential Revision
D10674: Refactor ProofPool::addProofIfPreferred
Parents
rABC1371b60fd052: p2p: don't add AlreadyHave transactions to recentRejects
Branches
Unknown
Tags
Unknown