From 5238a0fd373220ae879ddd320c61f45b19436e20 Mon Sep 17 00:00:00 2001 From: m4sterbunny Date: Tue, 25 Jun 2024 18:41:09 +0100 Subject: [PATCH] 1576(docs): documents config option (#1632) * :1576(docs): documents config option Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md edit Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md edit Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md proof Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md proof Co-authored-by: Sally MacFarlane Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md proof Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md proof Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny * Update docs/public-networks/reference/cli/options.md proof Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny * Update options.md Implements feedback Signed-off-by: m4sterbunny * Update options.md alphabetical relocate Signed-off-by: m4sterbunny --------- Signed-off-by: m4sterbunny Co-authored-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com> Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Co-authored-by: Sally MacFarlane --- docs/public-networks/reference/cli/options.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) 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`