goal node

goal node

Manage a specified algorand node

Synopsis

Collection of commands to support the creation and management of Algorand node instances, where each instance corresponds to a unique data directory.

goal node [flags]

Options

  -h, --help   help for node

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

Commands

goal node clone

Clone the specified node to create another node

Synopsis

Clone the specified node to create another node. Optionally you can
control whether the clone includes the current ledger, or if it starts with
an uninitialized one. The default is to clone the ledger as well. Specify
-n or --noledger to start with an uninitialized ledger.

goal node clone [flags]

Options

  -h, --help               help for clone
  -n, --noledger           Don't include ledger when copying (No Ledger)
  -t, --targetdir string   Target directory for the clone

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node generatetoken

Generate and install a new API token

Synopsis

Generate and install a new API token

goal node generatetoken [flags]

Options

  -h, --help   help for generatetoken

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node lastround

Print the last round number

Synopsis

Print the last round number

goal node lastround [flags]

Options

  -h, --help   help for lastround

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node pendingtxns

Get a snapshot of current pending transactions on this node

Synopsis

Get a snapshot of current pending transactions on this node, cut off
at MAX transactions (-m), default 0. If MAX=0, fetches as many
transactions as possible.

goal node pendingtxns [flags]

Options

  -h, --help                 help for pendingtxns
  -m, --maxPendingTxn uint   Cap the number of txns to fetch

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node restart

stop, and then start, the specified Algorand node

Synopsis

Stop, and then start, the specified Algorand node

goal node restart [flags]

Options

  -h, --help               help for restart
  -H, --hosted             Run algod hosted by algoh
  -l, --listen string      Endpoint / REST address to listen on
  -p, --peer string        Peer address to dial for initial connection
  -t, --telemetry string   Enable telemetry if supported (Use "true", "false", "0" or "1"

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node start

Init the specified algorand node

Synopsis

Init the specified algorand node

goal node start [flags]

Options

  -h, --help               help for start
  -H, --hosted             Run algod hosted by algoh
  -l, --listen string      Endpoint / REST address to listen on
  -p, --peer string        Peer address to dial for initial connection
  -t, --telemetry string   Enable telemetry if supported (Use "true", "false", "0" or "1"

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node status

Get the current node status

Synopsis

Show the current status of the running Algorand node

goal node status [flags]

Options

  -h, --help   help for status

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

goal node stop

stop the specified Algorand node

Synopsis

Stop the specified Algorand node

goal node stop [flags]

Options

  -h, --help   help for stop

Options inherited from parent commands

  -d, --datadir string   Data directory for the node