HomePhabricator

Add -netinfo peer connections dashboard

Description

Add -netinfo peer connections dashboard

Summary:

This PR is inspired by laanwj's python script mentioned in #19405, which
it turns out I ended up using every day and extending because I got
hooked on using it to monitor Bitcoin peer connections.

For the full experience, run ./src/bitcoin-cli -netinfo 4

On Linux, try it with watch watch ./src/bitcoin-cli -netinfo 4

Help doc

$ ./src/bitcoin-cli -help | grep -A3 netinfo
  -netinfo
       Get network peer connection information from the remote server.
An
       optional integer argument from 0 to 4 can be passed for different
       peers listings (default: 0).

Backport of core#19643.

Depends on D9331 and D9333.

Test Plan:

watch ./src/bitcoin-cli -netinfo 4

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Jul 27 2020, 06:20
FabienCommitted on Mar 22 2021, 09:11
FabienPushed on Mar 22 2021, 09:13
Reviewer
Restricted Project
Differential Revision
D9334: Add -netinfo peer connections dashboard
Parents
rABCc0abbe448a86: Bump version to 0.23.0
Branches
Unknown
Tags
Unknown