aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-09-10 08:53:22 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-09-10 09:03:14 +0200
commit33c466a64254226b078706fcf7b4fb2c1561c6b5 (patch)
tree536d2416ba2f8989cdfa9ef9e21e8ae3e7c08be3 /doc
parent59681beb899e6912e0490b9588dbdf40ff39b043 (diff)
parent66740f460af5f9d8c61eb5b154863bffb20d94b5 (diff)
downloadbitcoin-33c466a64254226b078706fcf7b4fb2c1561c6b5.tar.xz
Merge #16787: rpc: Human readable network services
66740f460af5f9d8c61eb5b154863bffb20d94b5 doc: add a release note for the new field in 'getpeerinfo' and 'getnetworkinfo' (darosior) 6564f58c87a84c88d07629e9d86e15f07d0ed837 rpc/net: decode the services flags in a new entry (darosior) Pull request description: This is a reopen of https://github.com/bitcoin/bitcoin/pull/15511#issuecomment-527087370 since there have been concept ACKs from sdaftuar and Sjors. This adds a new entry to `getpeerinfo` and `getnetworkinfo` which decodes the network services flags. Here is a truncated output of `getpeerinfo`: ``` "services": "000000000000040d", "servicesnames": "NODE_NETWORK | NODE_BLOOM | NODE_WITNESS | NODE_NETWORK_LIMITED", "relaytxes": true, ``` And one of `getnetworkinfo`: ``` "localservices": "0000000000000409", "localservicesnames": "NODE_NETWORK | NODE_WITNESS | NODE_NETWORK_LIMITED", "localrelay": true, ``` Fixes #16780. ACKs for top commit: MarcoFalke: unsigned ACK 66740f460af5f9d8c61eb5b154863bffb20d94b5 laanwj: ACK 66740f460af5f9d8c61eb5b154863bffb20d94b5 Tree-SHA512: 0acc37134b283f56004a41243903d7790cb01591ddf0342489bd05f3a2c780563075373ba5fd55180fa15632e8968ffa11a979b8afece75a6a2e891342601440
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes-16787.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/release-notes-16787.md b/doc/release-notes-16787.md
new file mode 100644
index 0000000000..c42b7a5803
--- /dev/null
+++ b/doc/release-notes-16787.md
@@ -0,0 +1,3 @@
+RPC changes
+-----------
+The `getnetworkinfo` and `getpeerinfo` commands now contain a new field with decoded network service flags.