-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)-cert - name of the root node certificate -val_count - quantity of validators required for consensus work
Example:
Command:
cellframe-node-cli esbocs min_validators_count set -net riemann -cert riemann.root.pvt.0 -val_count 4
Response:
status: Minimum validators count has been set decree hash: 0x5750A74AFC72C77C920ADEFFFC780C49F5708446A3C3A68ADBC5EA672991808D
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;set;-net;riemann;-cert;riemann.root.pvt.0;-val_count;4"], "id":"1"}'
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"}'
-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)-cert - name of the root node certificate
Example:
Command:
cellframe-node-cli esbocs check_signs_structure enable -net riemann -chain main -cert riemann.root.pvt.0
Response:
Checking signs structure has been: enabled Decree hash: 0x6D0459526B50FA5E7EC0B0F0E4E95BDB6496F9B826A05747DFF77F32D1F92D67
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{"method":"esbocs", "params":["esbocs;check_signs_structure;enable;-net;riemann;-chain;main;-cert;riemann.root.pvt.0"], "id":"1"}'
Shows status of checks for blocks signs structure validity
CLI Example
Command syntax:
esbocs check_signs_structure 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 check_signs_structure show -net riemann -chain main
Response:
Checking signs structure is: disabled
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{"method":"esbocs", "params":["esbocs;check_signs_structure;show;-net;riemann;-chain;main"], "id":"1"}'
-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)-cert - name of the root node certificate -pkey_hash - public key hash of the validator
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