Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 7: [PATCH 07/30] 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/test/util/txmempool.cpp CHANGED
@@ -19,12 +19,11 @@ using node::NodeContext;
19
 
20
  CTxMemPool::Options MemPoolOptionsForTest(const NodeContext& node)
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
- };
28
  const auto result{ApplyArgsManOptions(*node.args, ::Params(), mempool_opts)};
29
  Assert(result);
30
  return mempool_opts;
 
19
 
20
  CTxMemPool::Options MemPoolOptionsForTest(const NodeContext& node)
21
  {
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();
 
27
  const auto result{ApplyArgsManOptions(*node.args, ::Params(), mempool_opts)};
28
  Assert(result);
29
  return mempool_opts;