mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-29 20:06:56 +00:00
rpc: update peer format in specification in NetInfo operation (#331)
This commit is contained in:
@@ -187,71 +187,12 @@ curl -X POST https://localhost:26657 -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\
|
||||
"Listener(@)"
|
||||
],
|
||||
"n_peers": "1",
|
||||
"peers": [
|
||||
{
|
||||
"node_info": {
|
||||
"protocol_version": {
|
||||
"p2p": "7",
|
||||
"block": "10",
|
||||
"app": "0"
|
||||
},
|
||||
"id": "5576458aef205977e18fd50b274e9b5d9014525a",
|
||||
"listen_addr": "tcp://0.0.0.0:26656",
|
||||
"network": "cosmoshub-2",
|
||||
"version": "0.32.1",
|
||||
"channels": "4020212223303800",
|
||||
"moniker": "moniker-node",
|
||||
"other": {
|
||||
"tx_index": "on",
|
||||
"rpc_address": "tcp://0.0.0.0:26657"
|
||||
}
|
||||
},
|
||||
"is_outbound": true,
|
||||
"connection_status": {
|
||||
"Duration": "168901057956119",
|
||||
"SendMonitor": {
|
||||
"Active": true,
|
||||
"Start": "2019-07-31T14:31:28.66Z",
|
||||
"Duration": "168901060000000",
|
||||
"Idle": "168901040000000",
|
||||
"Bytes": "5",
|
||||
"Samples": "1",
|
||||
"InstRate": "0",
|
||||
"CurRate": "0",
|
||||
"AvgRate": "0",
|
||||
"PeakRate": "0",
|
||||
"BytesRem": "0",
|
||||
"TimeRem": "0",
|
||||
"Progress": 0
|
||||
},
|
||||
"RecvMonitor": {
|
||||
"Active": true,
|
||||
"Start": "2019-07-31T14:31:28.66Z",
|
||||
"Duration": "168901060000000",
|
||||
"Idle": "168901040000000",
|
||||
"Bytes": "5",
|
||||
"Samples": "1",
|
||||
"InstRate": "0",
|
||||
"CurRate": "0",
|
||||
"AvgRate": "0",
|
||||
"PeakRate": "0",
|
||||
"BytesRem": "0",
|
||||
"TimeRem": "0",
|
||||
"Progress": 0
|
||||
},
|
||||
"Channels": [
|
||||
{
|
||||
"ID": 48,
|
||||
"SendQueueCapacity": "1",
|
||||
"SendQueueSize": "0",
|
||||
"Priority": "5",
|
||||
"RecentlySent": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"remote_ip": "95.179.155.35"
|
||||
}
|
||||
]
|
||||
"peers": [
|
||||
{
|
||||
"node_id": "5576458aef205977e18fd50b274e9b5d9014525a",
|
||||
"url": "tcp://5576458aef205977e18fd50b274e9b5d9014525a@95.179.155.35:26656"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user