HomePhabricator

mempool: remove unused magic number from consistency check

Description

mempool: remove unused magic number from consistency check

Summary:
Unexplained magic numbers are no good. Since the exact number does not matter, opt for a constant that is less peculiar.

Backport of Bitcoin Core PR16056
https://github.com/bitcoin/bitcoin/pull/16056

Test Plan:

ninja check

Reviewers: Fabien, #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Gregory Sanders <gsanders87@gmail.com>Authored on May 20 2019, 16:06
fpelliccioniCommitted on Oct 22 2019, 19:43
FabienPushed on Oct 23 2019, 09:58
Reviewer
Restricted Project
Differential Revision
D4278: mempool: remove unused magic number from consistency check
Parents
rSTAGING104e5e612728: Merge #13258: uint256: Remove unnecessary crypto/common.h dependency
Branches
Unknown
Tags
Unknown