Validator CLI

validator

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
usage: sawtooth-validator [-h] [--config-dir CONFIG_DIR] [-B BIND]
                          [-P {static,dynamic}] [-E ENDPOINT] [-s SEEDS]
                          [-p PEERS] [-v] [--scheduler {serial,parallel}] [-V]

optional arguments:
  -h, --help            show this help message and exit
  --config-dir CONFIG_DIR
                        Configuration directory
  -B BIND, --bind BIND  Set the endpoint url for the network and the validator component service endpoints. Multiple --bind arguments should be provided in the format network:endpoint and component:endpoint.
  -P {static,dynamic}, --peering {static,dynamic}
                        The type of peering approach the validator should take. Choices are 'static' which only attempts to peer with candidates provided with the --peers option, and 'dynamic' which will do topology buildouts. If 'dynamic' is provided, any static peers will be processed first, prior to the topology buildout starting
  -E ENDPOINT, --endpoint ENDPOINT
                        Advertised network endpoint URL
  -s SEEDS, --seeds SEEDS
                        uri(s) to connect to in order to initially connect to the validator network, in the format tcp://hostname:port. Multiple --seeds arguments can be provided, and a single --seeds argument will accept a comma separated list of tcp://hostname:port,tcp://hostname:port parameters
  -p PEERS, --peers PEERS
                        A list of peers to attempt to connect to in the format tcp://hostname:port. Multiple --peers arguments can be provided, and a single --peers argument will accept a comma separated list of tcp://hostname:port,tcp://hostname:port parameters
  -v, --verbose         Increase output sent to stderr
  --scheduler {serial,parallel}
                        The type of scheduler to be used.
  -V, --version         print version information