diff options
author | MacroFake <falke.marco@gmail.com> | 2022-06-15 19:24:03 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-06-15 19:24:14 +0200 |
commit | 6acba8460361b2dabe1f097ca652fc9da9e18ce4 (patch) | |
tree | 9252f7ccd1afa7448d38ed6f7f8b4efe533af749 /src/timedata.h | |
parent | 26ec2f2d6bb12525044b6d09422b42715fc09319 (diff) | |
parent | 216c9b00ec6f8dca815fa5a308abaf4c34674b41 (diff) |
Merge bitcoin/bitcoin#25358: test: passing a value below 5 MB to -maxmempool should throw an error
216c9b00ec6f8dca815fa5a308abaf4c34674b41 test: passing a value below 5 MB to -maxmempool should throw an error (brunoerg)
Pull request description:
This PR adds test coverage for the following init error:
https://github.com/bitcoin/bitcoin/blob/5174a139c92c1238f9700d06e362dc628d81a0a9/src/init.cpp#L931-L935
By default, the minimum value is 5 MB. See:
https://github.com/bitcoin/bitcoin/blob/master/doc/reduce-memory.md#memory-pool
ACKs for top commit:
laanwj:
Code review ACK 216c9b00ec6f8dca815fa5a308abaf4c34674b41
furszy:
Code review ACK 216c9b00
Tree-SHA512: 0c8fdcefb85e3dabb986a6294ad18503168a04246926614cbfa2d09d9e997312c937b01994f2999b1dc583e2eac5cdb8058bd58577baeb3eb23fdc690400cab9
Diffstat (limited to 'src/timedata.h')
0 files changed, 0 insertions, 0 deletions