cli/

directory
v0.0.0-...-c04c664 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2020 License: MIT

README

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)
   --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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL