BP Node settings

This is BP Node setting guide

BP Node settings

Adjusting the setting information operation is needed for the driving environment in order for BP Node to operate mutually. Please refer the below steps to proceed the settings.

PATH settings

Set the PATH by entering the container Shell.

root@4e60bc34a625:/omnione-testnet# source /etc/profile

Checking the script file

Use ls command to check the BP Node executable 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.sh

BP Node key settings

Set Private and Public Key directly on a BP Node.

root@4e60bc34a625:/omnione-testnet# vi gen_bp_start.sh

Nodeos settings

Perform an operation that specifies the execution option of Nodeos and runs it. The below item requires adjustments, please locate them and enter an appropriate value for each.

  • YOUR_ACCOUNT_NAME : Account name

  • YOUR_PUB_KEY : Public Key

  • YOUR_PRIVATE_KEY : Private Key

#!/bin/bash
nodeos \
-e \
--genesis-json /omnione-testnet/bp_node/config/genesis.json \
--producer-name YOUR_ACCOUNT_NAME \
--signature-provider YOUR_PUB_KEY=KEY:YOUR_PRIVATE_KEY \
--data-dir /omnione-testnet/bp_node/node_data \
--config-dir /omnione-testnet/bp_node/config >> /omnione-testnet/bp_node/node_data/nodeos.log 2>&1 & \
echo $! > eosd.pid

Adjusting the beginning script

Beginning script can be used as it is but please, use it by copying the file for the file management.

root@4e60bc34a625:/omnione-testnet# cp gen_bp_start.sh bp_start.sh
root@4e60bc34a625:/omnione-testnet# vi bp_start.sh

open 'bp_start.sh' file and locate and delete the code as below then save it.

--genesis-json /omnione-testnet/bp_node/config/genesis.json

Start the BP Node

Execute the script to perform BP Node operation.

root@4e60bc34a625:/omnione-testnet#./bp_start.sh

Checking execution log

The log can be checked to have confirmation whether BP Node is up and running properly.

root@4e60bc34a625:/omnione-testnet# tail -f bp_node/node_data/nodeos.log

If performed up to this point without any error, BP Node has been executed properly. Press Ctrl + p or q to terminate safely.

Executing keosd/BP Node simultaneously

Generally, it is unnecessary to proceed with this step but need to perform when it is required.

Last updated