Shows minimum quantity of validators for ESBOCS Consensus work in the network
CLI Example
Command syntax:
esbocs min_validators_count 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 min_validators_count show
-net riemann
-chain main
Response:
Minimum validators count: 2
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli
-X POST http://localhost/connect
-d '{"method":"esbocs", "params":["esbocs;min_validators_count;show;-net;riemann;-chain;main"], "id":"1"}'
Response:
{
"type": 2,
"result": [
{
"Minimum validators count": 2
}
],
"errors": null,
"id": 1
}