HomePhabricator

net, rpc: expose high bandwidth mode state via getpeerinfo

Description

net, rpc: expose high bandwidth mode state via getpeerinfo

Summary:

net: save high-bandwidth mode states in CNodeStats

rpc: expose high-bandwidth mode states via getpeerinfo

doc: release note for new getpeerinfo fields "bip152_hb_{from,to}"

test: add test for high-bandwidth mode states in getpeerinfo

This is a backport of core#19776
Depends on D10961

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Aug 21 2020, 13:17
PiRKCommitted on Feb 3 2022, 10:08
PiRKPushed on Feb 3 2022, 10:08
Reviewer
Restricted Project
Differential Revision
D10962: net, rpc: expose high bandwidth mode state via getpeerinfo
Parents
rABC2543a4116433: Add network to peers window and peer details
Branches
Unknown
Tags
Unknown