v29.4-roots.2 · Commit 7: [PATCH 07/21] release: establish Roots maintenance and assurance
src/test/util/txmempool.cpp
Before: src/test/util/txmempool.cpp · After: src/test/util/txmempool.cpp
File metadata
index f1ca33bec7859bd2ceb47a846681b754ca4d67a0..b4be6a0a905a956414149c5d5467f44065826c8a 100644
Download original patch · Release notes
Diff rows 1–17 of 17. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/test/util/txmempool.cpp
CHANGED
|
@@ -19,12 +19,11 @@ using node::NodeContext;
|
|
|
19
19
|
|
|
20
20
|
CTxMemPool::Options MemPoolOptionsForTest(const NodeContext& node)
|
|
21
21
|
{
|
|
22
|
-
CTxMemPool::Options mempool_opts{
|
|
23
|
-
// Default to always checking mempool regardless of
|
|
24
|
-
// chainparams.DefaultConsistencyChecks for tests
|
|
25
|
-
.check_ratio = 1,
|
|
26
|
-
.signals = node.validation_signals.get(),
|
|
27
|
-
};
|
|
22
|
+
CTxMemPool::Options mempool_opts;
|
|
23
|
+
// Default to always checking mempool regardless of
|
|
24
|
+
// chainparams.DefaultConsistencyChecks for tests.
|
|
25
|
+
mempool_opts.check_ratio = 1;
|
|
26
|
+
mempool_opts.signals = node.validation_signals.get();
|
|
28
27
|
const auto result{ApplyArgsManOptions(*node.args, ::Params(), mempool_opts)};
|
|
29
28
|
Assert(result);
|
|
30
29
|
return mempool_opts;
|