Page MenuHomePhabricator

net, rpc: expose high bandwidth mode state via getpeerinfo
ClosedPublic

Authored by PiRK on Feb 2 2022, 16:16.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5020c1764da0: 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

Event Timeline

PiRK requested review of this revision.Feb 2 2022, 16:16
PiRK retitled this revision from net, rpc: expose high bandwidth mode state via getpeerinfo #19776 to net, rpc: expose high bandwidth mode state via getpeerinfo.Feb 2 2022, 16:28

add newline in release-notes.md

Fabien requested changes to this revision.Feb 3 2022, 08:46
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/net_processing.cpp
3817 ↗(On Diff #32143)

The comment is missing

This revision now requires changes to proceed.Feb 3 2022, 08:46
Fabien requested changes to this revision.Feb 3 2022, 09:15
Fabien added inline comments.
doc/release-notes.md
23 ↗(On Diff #32153)

newline

This revision now requires changes to proceed.Feb 3 2022, 09:15

Add newline again in release notes. Apparently the last time I did this I must have aborted my rebase and lost the commit.

This revision is now accepted and ready to land.Feb 3 2022, 09:46