Page MenuHomePhabricator

Add test util to populate mempool with random transactions
ClosedPublic

Authored by PiRK on Jan 29 2024, 09:41.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe93e5233d51a: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable