Admin Messages
This chapter describes admin messages, and documents the current admin messages. Admin messages are a subset of messages that handle connection creation, making sure connections are still alive, and sharing peer lists.
Levin
All admin messages are in the request/response levin format. This means requests will set the expect response bit and
responses will set the return code to 1.
Messages
Handshake
ID: 10011
Request 2
| Fields | Type | Description |
|---|---|---|
node_data | basic node data | Static information about our node |
payload_data | core sync data | Information on the node's sync state |
Response 3
| Fields | Type | Description |
|---|---|---|
node_data | basic node data | Static information about our node |
payload_data | core sync data | Information on the node's sync state |
local_peerlist_new | A Vec of peer list entry base | A list of peers in the node's peer list |
Timed Sync
ID: 10024
Request 5
| Fields | Type | Description |
|---|---|---|
payload_data | core sync data | Information on the node's sync state |
Response 6
| Fields | Type | Description |
|---|---|---|
payload_data | core sync data | Information on the node's sync state |
local_peerlist_new | A Vec of peer list entry base | A list of peers in the node's peer list |
Ping
ID: 10037
Request 8
No data is serialized for a ping request.
Response 9
| Fields | Type | Description |
|---|---|---|
status | string | Will be OK for successful pings |
peer_id | u64 | The self assigned id of the peer |
Request Support Flags
ID: 100710
Request 11
No data is serialized for a support flags request.
Response 12
| Fields | Type | Description |
|---|---|---|
support_flags | u32 | The peer's support flags |