Node Command Line Interface
Manager
non-interactive mode
$ ./node manager [command] [command options]
Console
interactive mode
$ ./node console
>>> [command] [command options]
Global Options
--help, -h show help (default: false)
--version, -v print the version (default: false)
Commands
dial_peer, dp connect a new peer
prune_blocks, pb delete block information
status, s display the current status of the blockchain
net_info, ni display network data
exit, e exit
help, h Shows a list of commands or help for one command
dial_peer
connect a new peer
OPTIONS:
--address value, -a value id@ip:port
--persistent, -p (default: false)
--help, -h show help (default: false)
prune_blocks
delete block information
OPTIONS:
--from value, -f value (default: 0)
--to value, -t value (default: 0)
--batch value, -b value the number of blocks to delete in one operation (default: 250)
--help, -h show help (default: false)
status
display the current status of the blockchain
OPTIONS:
--json, -j echo in json format (default: false)
--help, -h show help (default: false)
net_info
display network data
OPTIONS:
--json, -j echo in json format (default: false)
--help, -h show help (default: false)
Small talk