|
| 1 | +<!-- This file is generated automatically. Any manual modifications will be overwritten. --> |
| 2 | + |
| 3 | +| Config Option | Default Value | Description | |
| 4 | +| --- | --- | --- | |
| 5 | +| `cn-core-contract-address` | | Custom network core contract address. | |
| 6 | +| `cn-feeder-url` | | Custom network feeder URL. | |
| 7 | +| `cn-gateway-url` | | Custom network gateway URL. | |
| 8 | +| `cn-l1-chain-id` | | Custom network L1 chain id. | |
| 9 | +| `cn-l2-chain-id` | | Custom network L2 chain id. | |
| 10 | +| `cn-name` | | Custom network name. | |
| 11 | +| `cn-unverifiable-range` | `0,100` | Custom network range of blocks to skip hash verifications (e.g. 0,100). | |
| 12 | +| `colour` | `true` | Use `--colour=false` command to disable colourized outputs (ANSI Escape Codes). | |
| 13 | +| `config` | | The YAML configuration file. | |
| 14 | +| `db-cache-size` | `1024` | Determines the amount of memory (in megabytes) allocated for caching data in the database. | |
| 15 | +| `db-compaction-concurrency` | | DB compaction concurrency range. Format: N (lower=1, upper=N) or M,N (lower=M, upper=N). Default: 1,GOMAXPROCS/2 | |
| 16 | +| `db-compression` | `"snappy"` | Database compression profile. Options: snappy, zstd, minlz. Use zstd for low storage. | |
| 17 | +| `db-max-handles` | `1024` | A soft limit on the number of open files that can be used by the DB | |
| 18 | +| `db-memtable-size` | `256` | Determines the amount of memory (in MBs) allocated for database memtables. | |
| 19 | +| `db-memtable-count` | `2` | Determines the number of memtables the database can queue before stalling writes. | |
| 20 | +| `db-path` | `path to your db location` | Location of the database files. | |
| 21 | +| `disable-l1-verification` | | Disables L1 verification since an Ethereum node is not provided. | |
| 22 | +| `disable-rpc-batch-requests` | | Disables handling of batched RPC requests. | |
| 23 | +| `eth-node` | | WebSocket endpoint of the Ethereum node. To verify the correctness of the L2 chain, Juno must connect to an Ethereum node and parse events in the Starknet contract. | |
| 24 | +| `grpc` | | Enable the HTTP gRPC server on the default port. | |
| 25 | +| `grpc-host` | `"localhost"` | The interface on which the gRPC server will listen for requests. | |
| 26 | +| `grpc-port` | `6064` | The port on which the gRPC server will listen for requests. | |
| 27 | +| `gw-api-key` | | API key for gateway endpoints to avoid throttling | |
| 28 | +| `gw-timeouts` | `"5s"` | Timeouts for requests made to the gateway. Can be specified in three ways: - Single value (e.g. '5s'): After each failure, the timeout will increase dynamically. - Comma-separated list (e.g. '5s,10s,20s'): Each value will be used in sequence after failures. - Single value with trailing comma (e.g. '5s,'): Uses a fixed timeout without dynamic adjustment. | |
| 29 | +| `help` | | help for juno | |
| 30 | +| `http` | | Enables the HTTP RPC server on the default port and interface. | |
| 31 | +| `http-host` | `"localhost"` | The interface on which the HTTP RPC server will listen for requests. | |
| 32 | +| `http-port` | `6060` | The port on which the HTTP server will listen for requests. | |
| 33 | +| `http-update-host` | `"localhost"` | The interface on which the log level and gateway timeouts HTTP server will listen for requests. | |
| 34 | +| `http-update-port` | | The port on which the log level and gateway timeouts HTTP server will listen for requests. | |
| 35 | +| `log-json` | | Use JSON encoding for log output. | |
| 36 | +| `log-level` | `"info"` | Options: trace, debug, info, warn, error. | |
| 37 | +| `max-vm-queue` | `72` | Maximum number for requests to queue after reaching max-vms before starting to reject incoming requests | |
| 38 | +| `max-vms` | `36` | Maximum number for VM instances to be used for RPC calls concurrently | |
| 39 | +| `metrics` | | Enables the Prometheus metrics endpoint on the default port. | |
| 40 | +| `metrics-host` | `"localhost"` | The interface on which the Prometheus endpoint will listen for requests. | |
| 41 | +| `metrics-port` | `9090` | The port on which the Prometheus endpoint will listen for requests. | |
| 42 | +| `network` | `mainnet` | Options: mainnet, sepolia, sepolia-integration. | |
| 43 | +| `p2p` | | EXPERIMENTAL: Enables p2p server. | |
| 44 | +| `p2p-addr` | | EXPERIMENTAL: Specify p2p listening source address as multiaddr. Example: /ip4/0.0.0.0/tcp/7777 | |
| 45 | +| `p2p-feeder-node` | | EXPERIMENTAL: Run juno as a feeder node which will only sync from feeder gateway and gossip the new blocks to the network. | |
| 46 | +| `p2p-peers` | | EXPERIMENTAL: Specify list of p2p peers split by a comma. These peers can be either Feeder or regular nodes. | |
| 47 | +| `p2p-private-key` | | EXPERIMENTAL: Hexadecimal representation of a private key on the Ed25519 elliptic curve. | |
| 48 | +| `p2p-public-addr` | | EXPERIMENTAL: Specify p2p public address as multiaddr. Example: /ip4/35.243.XXX.XXX/tcp/7777 | |
| 49 | +| `pending-poll-interval` | `1s` | Sets polling interval for pending block updates before starknet v0.14.0;for pre_latest block updates from starknet v0.14.0 onward.(0s will disable polling). | |
| 50 | +| `plugin-path` | | Path to the plugin .so file | |
| 51 | +| `pprof` | | Enables the pprof endpoint on the default port. | |
| 52 | +| `pprof-host` | `"localhost"` | The interface on which the pprof HTTP server will listen for requests. | |
| 53 | +| `pprof-port` | `6062` | The port on which the pprof HTTP server will listen for requests. | |
| 54 | +| `preconfirmed-poll-interval` | `500ms` | Sets how frequently pre_confirmed block will be updated(0s will disable fetching of pre_confirmed block). | |
| 55 | +| `readiness-block-tolerance` | `6` | Maximum blocks behind latest for /ready endpoints to return 200 OK | |
| 56 | +| `remote-db` | | gRPC URL of a remote Juno node | |
| 57 | +| `rpc-call-max-gas` | `100000000` | Maximum number of Sierra gas to be executed in starknet_call requests | |
| 58 | +| `rpc-call-max-steps` | `4000000` | Maximum number of steps to be executed in starknet_call requests | |
| 59 | +| `rpc-cors-enable` | | Enable CORS on RPC endpoints | |
| 60 | +| `rpc-max-block-scan` | `18446744073709551615` | Maximum number of blocks scanned in single starknet_getEvents call | |
| 61 | +| `seq-block-time` | `60` | Time to build a block, in seconds | |
| 62 | +| `seq-disable-fees` | | Skip charge fee for sequencer execution | |
| 63 | +| `seq-enable` | | Enables sequencer mode of operation | |
| 64 | +| `seq-genesis-file` | | Path to the genesis file | |
| 65 | +| `submitted-transactions-cache-entry-ttl` | `5m0s` | Time-to-live for each entry in the submitted transactions cache | |
| 66 | +| `submitted-transactions-cache-size` | `10000` | Maximum number of entries in the submitted transactions cache | |
| 67 | +| `transaction-combined-layout` | | EXPERIMENTAL: Enable combined (per-block) transaction storage layout. Once enabled, cannot be disabled. | |
| 68 | +| `version` | | version for juno | |
| 69 | +| `versioned-constants-file` | | Use custom versioned constants from provided file | |
| 70 | +| `ws` | | Enables the WebSocket RPC server on the default port. | |
| 71 | +| `ws-host` | `"localhost"` | The interface on which the WebSocket RPC server will listen for requests. | |
| 72 | +| `ws-port` | `6061` | The port on which the WebSocket server will listen for requests. | | |
0 commit comments