Add in/out connections to cli -getinfo

This commit is contained in:
Jon Atack
2020-06-29 10:05:15 +02:00
parent d9cc13e88d
commit 581b343d5b
3 changed files with 21 additions and 2 deletions

View File

@@ -4,3 +4,9 @@
`connections_out`, that provide the number of inbound and outbound peer
connections. These new fields are in addition to the existing `connections`
field, which returns the total number of peer connections. (#19405)
## CLI
- The `connections` field of `bitcoin-cli -getinfo` is expanded to return a JSON
object with `in`, `out` and `total` numbers of peer connections. It previously
returned a single integer value for the total number of peer connections. (#19405)