Node start

Follow the commands below to start a Onefinity validator node with the configuration from the config folder. Make sure you use the correct validator key or multisig key (allValidatorsKey.pem).

Single Key Validator

./node --port 21501 --profile-mode --log-save --log-level *:DEBUG --log-logger-name --log-correlation 
--use-health-service 
--rest-api-interface localhost:9501 
--sk-index 1 
--working-directory ~/working-dir/validator 
--config-external ./config/external_validator.toml 
--config ./config/config_validator.toml
--validator-key-pem-file ./config/validatorKey.pem

Multi-key Validator

./node --port 21501 --profile-mode --log-save --log-level *:DEBUG --log-logger-name --log-correlation 
--use-health-service 
--rest-api-interface localhost:9501 
--sk-index 1 
--working-directory ~/working-dir/validator 
--config-external ./config/external_validator.toml 
--config ./config/config_validator.toml
--all-validator-keys-pem-file ./config/allValidatorsKey.pem

Observer

./node --port 21501 --profile-mode --log-save --log-level *:INFO --log-logger-name --log-correlation --use-health-service --rest-api-interface localhost:8080 --working-directory ~/working-dir --config-external ./config/external_observer.toml --config ./config/config_observer.toml

Last updated