HomePhabricator

Backport PR11309: Minor cleanups for AcceptToMemoryPool

Description

Backport PR11309: Minor cleanups for AcceptToMemoryPool

Summary:
This is based on #11309 https://github.com/bitcoin/bitcoin/pull/11309/files however
the removal of fLimitFree and the fix for reorgs was already done in D4745.
So, this is basically just renaming fOverrideMempoolLimit -> bypass_limits,
removing defaultness of two args, and making sure that literal arguments are
documented with /* */. (test_accept from D3079 stays as default arg, like it
is in Core today)

Test Plan: ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Sep 29 2017, 13:07
Mark Lundeberg <markblundeberg@users.noreply.github.com>Committed on Dec 23 2019, 02:08
markblundebergPushed on Dec 23 2019, 02:19
Reviewer
Restricted Project
Differential Revision
D4796: Backport PR11309: Minor cleanups for AcceptToMemoryPool
Parents
rSTAGING90999a3993c4: [diagnostic] perform more aggressive checking of the index during…
Branches
Unknown
Tags
Unknown