Full Node settings
Full Node settings
the operation to modify the setting information for the operating environment is required in order for Full Node to operate mutually. Please refer to below steps to proceed the settings
Setting PATH
Enter the container Shell to set the PATH.
root@4e60bc34a625:/omnione-testnet# source /etc/profileChecking the script file
Use 'ls' command to check the Full Node script file.
root@4e60bc34a625:/omnione-testnet# ls
drwxr-xr-x 1 root root 4096 Feb 10 01:48 bp_node
-rwx------ 1 root root 259 Feb 10 02:35 gen_bp_start.sh
-rwx------ 1 root root 72 Feb 10 01:48 keosd_start.sh
-rwx------ 1 root root 270 Feb 7 00:57 stop.shChanging the name of the folder and script file
root@4e60bc34a625:/omnione-testnet# mv bp_node full_node
root@4e60bc34a625:/omnione-testnet# mv gen_bp_start.sh gen_full_start.shStarting the FullNode
the operation to run FullNode by the script.
Checking the execution log
If you have followed up to this part, FullNode should be executed normally.
To terminate safely please press Ctrl + p or q.
Checking the interworking operation with the real chain
This is a task to check whether it has been successfully connected on a chain within the real Docker
Outputs for executing the command line are as shown below.
{"server_version":"05be92e5",
"chain_id":"dfc4f3b5242822ee1d8add97be1246af57b793d470f1106d2758304d21868297","head_block_num":4148172,"last_irreversible_block_num":4148133,"last_irreversible_block_id":"003f4ba57db4ed4229de775f3b3df293b7e046afa3d2feea6c138a36198f01be","head_block_id":"003f4bcc28d18f7ed74be581ab4613ab0d0891f473ebb6be33b55532b369097e","head_block_time":"2020-02-10T06:34:25.000","head_block_producer":"h1rqhln1rzb5","virtual_block_cpu_limit":100000000,"virtual_block_net_limit":1048576000,"block_cpu_limit":99900,"block_net_limit":1048576,"server_version_string":"v1.8.6-16-g05be92e57-dirty","fork_db_head_block_num":4148172,"fork_db_head_block_id":"003f4bcc28d18f7ed74be581ab4613ab0d0891f473ebb6be33b55532b369097e"}
Checking the block data on a local environment
Check if the block data that is stored in the local directory is created properly.
Executing the last command line will be able to check block created data. For termination command is ctrl + c
Last updated
Was this helpful?