diff options
| author | MarcoFalke <[email protected]> | 2018-04-02 17:40:16 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-04-02 17:41:11 -0400 |
| commit | c564424d98b1561f16e633528172b3583719e5f3 (patch) | |
| tree | 4626a141b125ebf549ca6204600f72bc39d80cba /src/httpserver.cpp | |
| parent | Merge #11742: rpc: Add testmempoolaccept (diff) | |
| parent | [tests] Stop feature_block.py from blowing up memory. (diff) | |
| download | discoin-c564424d98b1561f16e633528172b3583719e5f3.tar.xz discoin-c564424d98b1561f16e633528172b3583719e5f3.zip | |
Merge #12861: [tests] Stop feature_block.py from blowing up memory.
89fe5feea2 [tests] Stop feature_block.py from blowing up memory. (John Newbery)
Pull request description:
The new P2PDataStore class was sending full blocks in headers messages,
which meant that calls to send_blocks_and_test() would blow up memory if
called with a large number of blocks. Fix that by only sending headers
in headers messages.
This means that python should use just over 1GB for feature_block.py (with bitcoind also using just over 1GB). That's the same as before the feature_block.py refactor.
Tree-SHA512: 796ea35584748ceb7b8fa36c732a461fb924dafe0b4c52d3eccf21a00fbdb65aef41ce1d91f027aad50cde6df5d30e985aaef474cb743975c06762975469cbbb
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions