Skip to content

Commit

Permalink
1576(docs): documents config option (#1632)
Browse files Browse the repository at this point in the history
* :1576(docs): documents config option

Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

edit

Co-authored-by: Alexandra Carrillo <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

edit

Co-authored-by: Alexandra Carrillo <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

proof

Co-authored-by: Alexandra Carrillo <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

proof

Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

proof

Co-authored-by: Alexandra Carrillo <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

proof

Co-authored-by: Alexandra Carrillo <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/cli/options.md

proof

Co-authored-by: Alexandra Carrillo <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update options.md

Implements feedback

Signed-off-by: m4sterbunny <[email protected]>

* Update options.md

alphabetical relocate

Signed-off-by: m4sterbunny <[email protected]>

---------

Signed-off-by: m4sterbunny <[email protected]>
Co-authored-by: Matt Nelson <[email protected]>
Co-authored-by: Alexandra Carrillo <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
  • Loading branch information
4 people authored Jun 25, 2024
1 parent 8df5608 commit 5238a0f
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,52 @@ You can't use the [`--genesis-file`](#genesis-file) and [`--network`](#network)

:::

### `genesis-state-hash-cache-enabled`

<Tabs>

<TabItem value="Syntax" label="Syntax" default>

```bash
--genesis-state-hash-cache-enabled=[=<true|false>]
```

</TabItem>

<TabItem value="Example" label="Example">

```bash
--genesis-state-hash-cache-enabled=true
```

</TabItem>

<TabItem value="Environment variable" label="Environment variable">

```bash
BESU_GENESIS_STATE_HASH_CACHE_ENABLED=true
```

</TabItem>

<TabItem value="Example configuration file" label="Example configuration file">

```bash
genesis-state-hash-cache-enabled=true
```

</TabItem>

</Tabs>

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`

<Tabs>
Expand Down

0 comments on commit 5238a0f

Please sign in to comment.