📃
OmniOne Developer Site
  • Introduction
  • Manager console guide
    • To begin with...
      • Wallet Settings
      • Select an Account
      • The Issuer/SP account creation
      • Issue access token for the OmniOne Agent
    • Issuer Console
      • Claim
      • VC Type
      • VC Format
      • Issue the VC Information
      • My request list
    • SP Console
      • Service List
      • Token Transaction History
      • My service request
  • Server system construction
    • To begin with...
      • Server Wallet creation and Key settings
      • Collect the Issuer and SP's DID
      • application.properties settings
    • Server default environment configuration per IDE
      • Spring Tool Suite 4
      • IntelliJ IDEA
    • Building the Issuer system
      • Issuer server guide(JAVA)
    • Building the SP system
      • SP server guide (JAVA)
  • Checking Blockchain data
    • Check Agent API
      • bp
      • Committee
      • DID
      • executor
      • key
      • pDID
      • player
      • policy
      • txinfo
      • txissue
      • vc
      • version
      • response codes
  • SDK instruction guide
    • Core SDK Guide
      • Java Wallet
        • IWKeyManager
        • IWDIDManager
        • IWRecoveryManager
        • ZkpException
        • IWException
      • iOS Wallet
        • IWKeyManager
        • IWDidManager
        • IWClaimManager
        • IWRecoveryManager
        • IWErrorManager
        • Enum
    • Server SDK Guide
      • Java
        • ServerInfo
        • IssuerApi
        • SpApi
        • VcResult
        • VcInitParam
        • VCRegParam
        • VcVerifyParam
        • SpProfileParam
    • Omni App Link SDK
      • Server
      • Android
      • IOS
  • Node creation
    • Full Node creation
      • Full Node by using Docker
        • Docker Installation
        • Building Full Node
        • Full Node settings
      • Installation type Full Node
        • Full Node installation
    • BP Node creation
      • BP Node by using Docker
        • Docker Installation
        • Building BP Node
        • BP Node settings
          • keosd/BP Node executing simultaneously
      • Installation type BP
        • Node Installation
        • Executing Node
        • Node settings
        • BP Vote
Powered by GitBook
On this page
  • BP Node settings
  • PATH settings
  • Checking the script file
  • BP Node key settings
  • Nodeos settings
  • Adjusting the beginning script
  • Start the BP Node
  • Executing keosd/BP Node simultaneously

Was this helpful?

  1. Node creation
  2. BP Node creation
  3. BP Node by using Docker

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.

PreviousBuilding BP NodeNextkeosd/BP Node executing simultaneously

Last updated 4 years ago

Was this helpful?