Page MenuHomePhabricator

bench: Reorgs of blocks with long tx chains
ClosedPublic

Authored by Fabien on Feb 6 2023, 19:28.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABCeef7c2791b29: bench: Reorgs of blocks with long tx chains
Summary
This adds two new benchmarks:
- Test reorg of 10 blocks, where each block has a transaction chain of 50
  one-input-one-output transactions
- Test reorg of 10 blocks, where each block has a transaction chain of 500
  one-input-one-output transactions

Port of bchn#1072.

Depends on D13103.

Test Plan
ninja bench-bitcoin

Event Timeline

Fabien requested review of this revision.Feb 6 2023, 19:28
sdulfari requested changes to this revision.Feb 7 2023, 00:19
sdulfari added a subscriber: sdulfari.
sdulfari added inline comments.
src/bench/chained_tx.cpp
243 ↗(On Diff #37828)

Check mempool state is what we expect

This revision now requires changes to proceed.Feb 7 2023, 00:19
This revision is now accepted and ready to land.Feb 7 2023, 16:43
This revision was automatically updated to reflect the committed changes.