HomePhabricator

Prevent copies in mempool_tests

Description

Prevent copies in mempool_tests

Summary: We can hold a const reference instead as the entries are read only.

Test Plan:

ninja check-bitcoin-mempool_tests

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Mar 21 2023, 10:04
FabienPushed on Mar 21 2023, 14:16
Reviewer
Restricted Project
Differential Revision
D13400: Prevent copies in mempool_tests
Parents
rABC8a04741b2350: Remove the non longer used epoch member
Branches
Unknown
Tags
Unknown