docs: tendermint node --help dumps all supported flags (#4511)

Closes #4211
This commit is contained in:
Anton Kaliaev
2020-03-02 13:09:54 +00:00
committed by GitHub
parent 9bf8f41ac9
commit 67224fd174
+17 -16
View File
@@ -104,36 +104,37 @@ definition](https://github.com/tendermint/tendermint/blob/master/types/genesis.g
## Run ## Run
To run a Tendermint node, use To run a Tendermint node, use:
``` ```sh
tendermint node tendermint node
``` ```
By default, Tendermint will try to connect to an ABCI application on By default, Tendermint will try to connect to an ABCI application on
[127.0.0.1:26658](127.0.0.1:26658). If you have the `kvstore` ABCI app `127.0.0.1:26658`. If you have the `kvstore` ABCI app installed, run it in
installed, run it in another window. If you don't, kill Tendermint and another window. If you don't, kill Tendermint and run an in-process version of
run an in-process version of the `kvstore` app: the `kvstore` app:
``` ```sh
tendermint node --proxy_app=kvstore tendermint node --proxy_app=kvstore
``` ```
After a few seconds you should see blocks start streaming in. Note that After a few seconds, you should see blocks start streaming in. Note that blocks
blocks are produced regularly, even if there are no transactions. See are produced regularly, even if there are no transactions. See _No Empty
_No Empty Blocks_, below, to modify this setting. Blocks_, below, to modify this setting.
Tendermint supports in-process versions of the `counter`, `kvstore` and Tendermint supports in-process versions of the `counter`, `kvstore`, and `noop`
`noop` apps that ship as examples with `abci-cli`. It's easy to compile apps that ship as examples with `abci-cli`. It's easy to compile your app
your own app in-process with Tendermint if it's written in Go. If your in-process with Tendermint if it's written in Go. If your app is not written in
app is not written in Go, simply run it in another process, and use the Go, run it in another process, and use the `--proxy_app` flag to specify the
`--proxy_app` flag to specify the address of the socket it is listening address of the socket it is listening on, for instance:
on, for instance:
``` ```sh
tendermint node --proxy_app=/var/run/abci.sock tendermint node --proxy_app=/var/run/abci.sock
``` ```
You can find out what flags are supported by running `tendermint node --help`.
## Transactions ## Transactions
To send a transaction, use `curl` to make requests to the Tendermint RPC To send a transaction, use `curl` to make requests to the Tendermint RPC