Enables or disables checks for blocks signs structure validity
CLI Example
Command syntax:
esbocs check_signs_structure {enable|disable}
-net <net_name>
[-chain <chain_name>]
-cert <poa_cert_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)
-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"}'
Response:
{
"type": 2,
"result": [
{
"Checking signs structure has been": "enabled",
"Decree hash": "0x07787EE238D182EC7FC4BDD642AC74B41BBAF564A73702FD37C12D753BB4776F"
}
],
"errors": null,
"id": 1
}