Page MenuHomePhabricator

Scale disconnected transaction pool size based on maximum block size
ClosedPublic

Authored by jasonbcox on Jan 22 2018, 04:50.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
dpool
Lint
Lint Passed
SeverityLocationCodeMessage
Auto-Fixsrc/validation.cpp:1CFMTCode style violation
Unit
No Test Coverage
Build Status
Buildable 1720
Build 1720: arc lint + arc unit