spd Command

'spd' commands are used to operate SP(meta, or indexing) node

help

List spd usage, available sub-commands and flags

Suppose a meta(indexing) node - node0 is located in `$HOME/stratos/sdstest/sp/example/localnet/node0`.

First

cd $HOME/stratos/sdstest/sp/example/localnet/node0

Then,

 spd -h
 
 # OR 
 
 spd --help

Response:

meta(indexing) node

Usage:
  spd [command]

Available Commands:
  config      create default configuration file
  help        Help about any command
  start       start the spd demon
  tm          tendermint commands

Flags:
  -c, --config string   configuration folder path  (default "./configs")
  -h, --help            help for spd
  -r, --home string     path for the node (default "$HOME/stratos/sdstest/sp/example/localnet/node0")

Use "spd [command] --help" for more information about a command.

start

Start a meta(indexing) node.

SP node folder is the folder that contains configs and data of the SP node. An SP node folder looks like

configs folder includes all configurations for this SP node.

`data` folder holds the node's database.

tmp stores various types of logs. It is generated automatically during the node is running.

Suppose a meta(indexing) node - node0 is located in `$HOME/stratos/sdstest/sp/example/localnet/node0`.

Response:

Last updated