From 5fb5896643b3b64447fda536ca639b2838499a8d Mon Sep 17 00:00:00 2001 From: leszek-vechain <158060059+leszek-vechain@users.noreply.github.com> Date: Mon, 27 May 2024 11:23:27 +0100 Subject: [PATCH] Add missing flags to usage.md (#754) * chore: update usage.md - added missing flags * chore: update usage.md - addressed comments --------- Co-authored-by: libotony --- docs/usage.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 36800c2d9..ca995ce8c 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -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:) (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 | @@ -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 |