HomePhabricator

Scale disconnected transaction pool size based on maximum block size

Description

Scale disconnected transaction pool size based on maximum block size

Summary: T168: MAX_DISCONNECTED_TX_POOL_SIZE was added by a Core PR, but doesn't consider block size when defining this value. I've added a scaling factor and changed it from kilobytes to bytes to be consistent with blocksize.

Test Plan: make check

Reviewers: deadalnix, schancel, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: teamcity

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

Details

Provenance
jasonbcoxAuthored on Jan 22 2018, 04:36
deadalnixPushed on Jan 23 2018, 12:58
Reviewer
Restricted Project
Differential Revision
D1009: Scale disconnected transaction pool size based on maximum block size
Parents
rSTAGING8a35da7fd454: [backport] Reject invalid wallets
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/2705, tag: phabricator/base/2703, tag: phabricator/base/2699, tag: phabricator/base/2697