HomePhabricator

Add test util to populate mempool with random transactions

Description

Add test util to populate mempool with random transactions

Summary:
And actually check the mempool in the MempoolCheck benchmark (see core#24634)

[test util] use -checkmempool for TestingSetup mempool check ratio

https://github.com/bitcoin/bitcoin/pull/24927/commits/d7d9c7b2661d7f4292bfcdc389a806028fa2207d

[test util] to populate mempool with random transactions/packages

https://github.com/bitcoin/bitcoin/pull/24927/commits/21187506311d1703d2bca21ccc17c3a921454b70

create and use mempool transactions using real coins in MempoolCheck

https://github.com/bitcoin/bitcoin/pull/24927/commits/aecc332a71037812b7334a0ea72d0bcf8160c12f

use testing setup mempool in ComplexMemPool bench

https://github.com/bitcoin/bitcoin/pull/24927/commits/d2f8f1b307b056d1a54fb02a99da2cb664570904

This is a backport of core#24927

Depends on D15309

Test Plan: ninja check bench-bitcoin

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15310

Details

Provenance
PiRKAuthored on Jan 29 2024, 08:21
PiRKPushed on Jan 29 2024, 10:50
Reviewer
Restricted Project
Differential Revision
D15310: Add test util to populate mempool with random transactions
Parents
rABCd8538ef31fb4: Move MakeNoLogFileContext to common libtest_util, and use it in bench
Branches
Unknown
Tags
Unknown