mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
13 lines
563 B
Markdown
13 lines
563 B
Markdown
## Updated RPCs
|
|
|
|
- `getnetworkinfo` now returns two new fields, `connections_in` and
|
|
`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)
|