diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index dcad12fd72c..00dcdbee3cd 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -1198,6 +1198,52 @@ You can't use the [`--genesis-file`](#genesis-file) and [`--network`](#network) ::: +### `genesis-state-hash-cache-enabled` + + + + + +```bash +--genesis-state-hash-cache-enabled=[=] +``` + + + + + +```bash +--genesis-state-hash-cache-enabled=true +``` + + + + + +```bash +BESU_GENESIS_STATE_HASH_CACHE_ENABLED=true +``` + + + + + +```bash +genesis-state-hash-cache-enabled=true +``` + + + + + +Enables or disables fast startup from an existing genesis state hash. The default is `false`. + +:::warning + +Enabling this option avoids validating the genesis state hash, trading off security for faster node startup times. We only recommend using this option if you are certain that you have not modified your genesis file or database and understand the security implications. + +::: + ### `graphql-http-cors-origins`