Shows list of validators public key hashes allowed to work in emergency mode

CLI Example

Command syntax:

esbocs emergency_validators show 
-net <net_name> 
[-chain <chain_name>]

Options:

-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-chain - the name of Chain. The list of chains can be found in the directory <Config_dir> \ etc \ network \ <network_name> or by the Cellframe-Node-CLI using command - net list chains (optional)

Example:

Command:

cellframe-node-cli esbocs emergency_validators show 
-net riemann 
-chain main

Response:

        Current emergency validators list:
 
                #: 1
 
                addr hash: 0xD719E3DE39D92998B7CFE7092AA16B53B619B6B093DA9D36B676402CE7AF24DE
 
                #: 2
 
                addr hash: 0x2376A46753161112DD67C81F3EC2DB93A9ED38C2342104FC77301AC65E31EE7C
 
                #: 3
 
                addr hash: 0x7AF94D9A0B3A97D92AD6A66EE6C20C450931946C5DFF695750CB7FF25CAEB1E5

JSON-RPC Example

Command:

curl --unix-socket /opt/cellframe-node/var/run/node_cli 
-X POST http://localhost/connect 
-d '{"method":"esbocs", "params":["esbocs;emergency_validators;show;-net;riemann;-chain;main"], "id":"1"}'

Response:

{
  "type"2,
  "result": [
    {
      "Current emergency validators list": [
        {
          "#"1,
          "addr hash""0xD719E3DE39D92998B7CFE7092AA16B53B619B6B093DA9D36B676402CE7AF24DE"
        },
        {
          "#"2,
          "addr hash""0x2376A46753161112DD67C81F3EC2DB93A9ED38C2342104FC77301AC65E31EE7C"
        },
        {
          "#"3,
 
          "addr hash""0x7AF94D9A0B3A97D92AD6A66EE6C20C450931946C5DFF695750CB7FF25CAEB1E5"
 
        }
      ]
    }
  ],
  "errors"null,
  "id"1
}