HomePhabricator

Expose HeadersSyncState::m_current_height in getpeerinfo()

Description

Expose HeadersSyncState::m_current_height in getpeerinfo()

Summary:
This is a partial backport of core#25717
https://github.com/bitcoin/bitcoin/pull/25717/commits/03712dddfbb9fe0dc7a2ead53c65106189f5c803

Depends on D15166

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Aug 12 2022, 14:05
PiRKCommitted on Jan 16 2024, 08:11
PiRKPushed on Jan 16 2024, 08:11
Reviewer
Restricted Project
Differential Revision
D15167: Expose HeadersSyncState::m_current_height in getpeerinfo()
Parents
rABC68c9ff60b3a3: Test headers sync using minchainwork threshold
Branches
Unknown
Tags
Unknown