This PR adds a new benchmark for adding/evicting orphan transactions to/from the mapOrphanTransactions
.
This benchmark could be useful while considering relevant code changes (e.g., #19374) or changing the DEFAULT_MAX_ORPHAN_TRANSACTIONS
parameter.
The output example:
0$ ./src/bench/bench_bitcoin -filter="OrphanTxPool"
1# Benchmark, evals, iterations, total, min, max, median
2OrphanTxPool, 5, 10000, 2.3938, 4.76101e-05, 4.83722e-05, 4.77407e-0