b93d88b58c
* Addition of initial seed check logic * updated to call from command line, now need to do something about peer store root output * rework check to delete temp files, add output options, testing
106 lines
3.4 KiB
YAML
106 lines
3.4 KiB
YAML
name: grin
|
|
about: Lightweight implementation of the Mimblewimble protocol.
|
|
author: The Grin Team
|
|
|
|
args:
|
|
- testnet:
|
|
help: Run grin against the Testnet (as opposed to mainnet)
|
|
long: testnet
|
|
takes_value: false
|
|
- usernet:
|
|
help: Run grin as a local-only network. Doesn't block peer connections but will not connect to any peer or seed
|
|
long: usernet
|
|
takes_value: false
|
|
subcommands:
|
|
- clean:
|
|
about: Clean Grin chain data
|
|
- server:
|
|
about: Control the Grin server
|
|
args:
|
|
- config_file:
|
|
help: Path to a grin-server.toml configuration file
|
|
short: c
|
|
long: config_file
|
|
takes_value: true
|
|
- port:
|
|
help: Port to start the P2P server on
|
|
short: p
|
|
long: port
|
|
takes_value: true
|
|
- api_port:
|
|
help: Port on which to start the api server (e.g. transaction pool api)
|
|
short: api
|
|
long: api_port
|
|
takes_value: true
|
|
- seed:
|
|
help: Override seed node(s) to connect to
|
|
short: s
|
|
long: seed
|
|
takes_value: true
|
|
- wallet_url:
|
|
help: The wallet listener to which mining rewards will be sent
|
|
short: w
|
|
long: wallet_url
|
|
takes_value: true
|
|
subcommands:
|
|
- config:
|
|
about: Generate a configuration grin-server.toml file in the current directory
|
|
- run:
|
|
about: Run the Grin server in this console
|
|
- client:
|
|
about: Communicates with the Grin server
|
|
subcommands:
|
|
- status:
|
|
about: Current status of the Grin chain
|
|
- listconnectedpeers:
|
|
about: Print a list of currently connected peers
|
|
- ban:
|
|
about: Ban peer
|
|
args:
|
|
- peer:
|
|
help: Peer ip and port (e.g. 10.12.12.13:13414)
|
|
short: p
|
|
long: peer
|
|
required: true
|
|
takes_value: true
|
|
- unban:
|
|
about: Unban peer
|
|
args:
|
|
- peer:
|
|
help: Peer ip and port (e.g. 10.12.12.13:13414)
|
|
short: p
|
|
long: peer
|
|
required: true
|
|
takes_value: true
|
|
- resetchainhead:
|
|
about: Resets the local chain head
|
|
args:
|
|
- hash:
|
|
help: The header hash to reset to
|
|
required: true
|
|
- verify-chain:
|
|
about: Trigger a verication of the rangeproofs, kernel signatures and excesses.
|
|
args:
|
|
- fast:
|
|
help: if present, will skip verification of rangeproofs, kernel signatures and will only validate the sum of kernel excesses.
|
|
short: f
|
|
long: fast
|
|
takes_value: false
|
|
- invalidateheader:
|
|
about: Adds header hash to denylist
|
|
args:
|
|
- hash:
|
|
help: The header hash to invalidate
|
|
required: true
|
|
- seedcheck:
|
|
about: Check the health of seed nodes
|
|
args:
|
|
- testnet:
|
|
help: Run seed check against Testnet (as opposed to Mainnet)
|
|
long: testnet
|
|
takes_value: false
|
|
- output:
|
|
help: Output file to write the results to
|
|
long: output
|
|
takes_value: true
|