Skip to content

Commit

Permalink
Add missing flags to usage.md (#754)
Browse files Browse the repository at this point in the history
* chore: update usage.md

- added missing flags

* chore: update usage.md

- addressed comments

---------

Co-authored-by: libotony <[email protected]>
  • Loading branch information
leszek-vechain and libotony authored May 27, 2024
1 parent ee2b7da commit 5fb5896
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,17 @@ bin/thor -h
| `--api-call-gas-limit` | Limit contract call gas (default: 50000000) |
| `--api-backtrace-limit` | Limit the distance between 'position' and best block for subscriptions APIs (default: 1000) |
| `--api-allow-custom-tracer` | Allow custom JS tracer to be used for the tracer API |
| `--enable-api-logs` | Enables API requests logging |
| `--verbosity` | Log verbosity (0-9) (default: 3) |
| `--max-peers` | Maximum number of P2P network peers (P2P network disabled if set to 0) (default: 25) |
| `--p2p-port` | P2P network listening port (default: 11235) |
| `--nat` | Port mapping mechanism (any\|none\|upnp\|pmp\|extip:<IP>) (default: "any") |
| `--bootnode` | Comma separated list of bootnode IDs |
| `--target-gas-limit` | Target block gas limit (adaptive if set to 0) (default: 0) |
| `--pprof` | Turn on go-pprof |
| `--skip-logs` | Skip writing event\|transfer logs (/logs API will be disabled) |
| `--cache` | Megabytes of RAM allocated to trie nodes cache (default: 4096) |
| `--disable-pruner` | Disable state pruner to keep all history |
| `--bootnode` | Comma-separated list of bootnode IDs |
| `--enable-metrics` | Enables the metrics server |
| `--metrics-addr` | Metrics service listening address |
| `--help, -h` | Show help |
Expand All @@ -189,7 +190,7 @@ bin/thor -h
|------------------------------|----------------------------------------------------|
| `--genesis` | Path to genesis file(default: builtin devnet) |
| `--on-demand` | Create new block when there is pending transaction |
| `--block-interval` | Choose a block interval in seconds (default 10s) |
| `--block-interval` | Choose a block interval in seconds (default 10s) |
| `--persist` | Save blockchain data to disk(default to memory) |
| `--gas-limit` | Gas limit for each block |
| `--txpool-limit` | Transaction pool size limit |
Expand Down

0 comments on commit 5fb5896

Please sign in to comment.