HomePhabricator

refactor: move update_* structs from txmempool.h to .cpp file

Description

refactor: move update_* structs from txmempool.h to .cpp file

Summary:

refactor: use const reference for parents in CTxMemPool::UpdateAncestorsOf

refactor: move update_* structs from txmempool.h to .cpp file

These helpers are exclusively used in txmempool.cpp, hence they
should also be moved there.

Can be reviewed with "--color-moved=dimmed-zebra".

This is a backport of core#23211

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Oct 6 2021, 23:47
PiRKCommitted on Oct 19 2022, 06:39
PiRKPushed on Oct 19 2022, 06:39
Reviewer
Restricted Project
Differential Revision
D12287: refactor: move update_* structs from txmempool.h to .cpp file
Parents
rABCb775cd6910c6: [Cashtab] [Chronik] Upgrade private message decryption error handling
Branches
Unknown
Tags
Unknown