Returns an array of all peer connection statuses.
643 matches
Infrastructure/Net
connections
v1.0.0Input
- 1
- 2
- 3
- 4
{
"type": "object",
"properties": {}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
{
"type": "array",
"items": {
"type": "object",
"properties": {
"connecting": {
"type": "boolean",
"description": "True if the peer is connecting, otherwise false"
},
"last_handshake": {
"type": "object",
"description": "Structure holding detailed information about the connection",
"properties": {
"agent": {
"type": "string",
"description": "Agent name"
},
"chain_id": {
"type": "string"
},
"generation": {
"type": "integer",
"description": "Generation number"
},
"head_id": {
"type": "string"
},
"head_num": {
"type": "integer",
"description": "Head number"
},
"key": {
"type": "string",
"description": "Base58 encoded EOSIO public key"
},
"last_irreversible_block_id": {
"type": "string"
},
"last_irreversible_block_num": {
"type": "integer",
"description": "Last irreversible block number"
},
"network_version": {
"type": "integer",
"description": "Incremental value above a computed base"
},
"node_id": {
"type": "string"
},
"os": {
"type": "string",
"description": "Operating system name"
},
"p2p_address": {
"type": "string",
"description": "IP address or URL of the peer"
},
"sig": {
"type": "string",
"description": "Base58 encoded EOSIO cryptographic signature"
},
"time": {
"type": "string",
"description": "Date/time string in the format YYYY-MM-DDTHH:MM:SS.sss"
},
"token": {
"type": "string"
}
}
},
"peer": {
"type": "string",
"description": "The IP address or URL of the peer"
},
"syncing": {
"type": "boolean",
"description": "True if the peer is syncing, otherwise false"
}
}
}
}