HomePhabricator

[net processing] Move block cache state into PeerManagerImpl

Description

[net processing] Move block cache state into PeerManagerImpl

Summary:
Also make most_recent_block_hash a BlockHash

This is a partial backport of core#24543
https://github.com/bitcoin/bitcoin/pull/24543/commits/10b83e2aa3393ef2c942fde7ac86e8cf3ea224c1

Depends on D14863

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
dergoegge <n.goeggi@gmail.com>Authored on Feb 20 2022, 14:40
PiRKCommitted on Nov 29 2023, 11:38
PiRKPushed on Nov 29 2023, 11:38
Reviewer
Restricted Project
Differential Revision
D14864: [net processing] Move block cache state into PeerManagerImpl
Parents
rABC95fee839874a: [net processing] Move nPreferredDownload into PeerManagerImpl
Branches
Unknown
Tags
Unknown