mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge c30b3e90f0 into merged_master (Bitcoin PR bitcoin/bitcoin#25472)
This commit is contained in:
commit
bf5189aa76
11 changed files with 246 additions and 301 deletions
|
|
@ -65,7 +65,6 @@
|
|||
#include <txorphanage.h>
|
||||
#include <util/asmap.h>
|
||||
#include <util/check.h>
|
||||
#include <util/designator.h>
|
||||
#include <util/moneystr.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <util/string.h>
|
||||
|
|
@ -1564,8 +1563,8 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
|||
assert(!node.chainman);
|
||||
|
||||
CTxMemPool::Options mempool_opts{
|
||||
Desig(estimator) node.fee_estimator.get(),
|
||||
Desig(check_ratio) chainparams.DefaultConsistencyChecks() ? 1 : 0,
|
||||
.estimator = node.fee_estimator.get(),
|
||||
.check_ratio = chainparams.DefaultConsistencyChecks() ? 1 : 0,
|
||||
};
|
||||
ApplyArgsManOptions(args, mempool_opts);
|
||||
mempool_opts.check_ratio = std::clamp<int>(mempool_opts.check_ratio, 0, 1'000'000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue