HomePhabricator

rpc/net: decode the services flags in a new entry

Description

rpc/net: decode the services flags in a new entry

Summary:
This adds human readable network services to the output of getpeerinfo and getnetworkinfo

Backport of Core PR16787

Test Plan:
Run src/bitcoin-cli getnetworkinfo and check the localservicesnames field.

More tests coming in PR16850

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

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

Details

Provenance
darosior <darosior@gmail.com>Authored on Mar 1 2019, 16:06
PiRKCommitted on Oct 16 2020, 14:26
PiRKPushed on Oct 16 2020, 14:26
Reviewer
Restricted Owners Package
Differential Revision
D7948: rpc/net: decode the services flags in a new entry
Parents
rABC59239db2aa64: Fix a potential use after move
Branches
Unknown
Tags
Unknown