Status

Description

status of existing connection

Command

cleos net status

Output

Usage: cleos net status host

Positionals:
  host TEXT                   The hostname:port to query status of connection

Given, a valid, existing hostname:port parameter the above command returns a json response looking similar to the one below:

{
  "peer": "hostname:port",
  "connecting": false/true,
  "syncing": false/true,
  "last_handshake": {
    ...
  }
}

The last_handshake structure is explained in detail in the Network Peer Protocol documentation section.