HomePhabricator

Display the network limited flag in peer details

Description

Display the network limited flag in peer details

Summary:
Display "LIMITED" for network limited nodes.
Note that the avalanche flag is not displayed, because it is in the
experimental range.

Test Plan:

./src/qt/bitcoin-qt -prune=550 &
mkdir /tmp/datadir
./src/qt/bitcoin-qt -datadir=/tmp/datadir -connect=127.0.0.1

In the second instance:
Go to "Help=>Debug window"
Select the tab "Peers"
Click the 127.0.0.1 peer in the upper table
Check in the details that the LIMITED flag is displayed

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

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

Details

Provenance
FabienAuthored on Jan 30 2019, 10:28
FabienPushed on Jan 30 2019, 15:05
Reviewer
Restricted Project
Differential Revision
D2442: Display the network limited flag in peer details
Parents
rABC54d11f78a9db: Fix braces in keystore.cpp
Branches
Unknown
Tags
Unknown