aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorGreg Sanders <gsanders87@gmail.com>2024-11-13 11:19:14 -0500
committerGreg Sanders <gsanders87@gmail.com>2024-11-20 13:49:41 -0500
commitba35a570c5d4ade342cb32630ffaa5f5bdd5e826 (patch)
tree361d69f3201521db144847327362c43541d5a604 /src/bench
parentcf0cee1617c0bf065b295a9807a4c7de0558393d (diff)
CheckEphemeralSpends: return boolean, and set child state and txid outparams
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/mempool_ephemeral_spends.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bench/mempool_ephemeral_spends.cpp b/src/bench/mempool_ephemeral_spends.cpp
index 78f869b9cd..600eb6d7cb 100644
--- a/src/bench/mempool_ephemeral_spends.cpp
+++ b/src/bench/mempool_ephemeral_spends.cpp
@@ -73,9 +73,12 @@ static void MempoolCheckEphemeralSpends(benchmark::Bench& bench)
uint32_t iteration{0};
+ TxValidationState dummy_state;
+ Txid dummy_txid;
+
bench.run([&]() NO_THREAD_SAFETY_ANALYSIS {
- CheckEphemeralSpends({tx2_r}, /*dust_relay_rate=*/CFeeRate(iteration * COIN / 10), pool);
+ CheckEphemeralSpends({tx2_r}, /*dust_relay_rate=*/CFeeRate(iteration * COIN / 10), pool, dummy_state, dummy_txid);
iteration++;
});
}