Skip to content

Commit

Permalink
Add receipt compaction option (#1555)
Browse files Browse the repository at this point in the history
* Add option

* Update wording

Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>

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

Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>
Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>

---------

Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>
Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>
  • Loading branch information
joaniefromtheblock and alexandratran committed May 2, 2024
1 parent 38ddde3 commit 09de426
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2817,6 +2817,48 @@ random-peer-priority-enabled=true
Enables or disables random prioritization of incoming connections. Enable in small, stable networks to prevent closed groups of peers forming. The default is `false`.
### `receipt-compaction-enabled`
<Tabs>
<TabItem value="Syntax" label="Syntax" default>
```bash
--receipt-compaction-enabled=<true|false>
```
</TabItem>
<TabItem value="Example" label="Example">
```bash
--receipt-compaction-enabled=true
```
</TabItem>
<TabItem value="Environment variable" label="Environment variable">
```bash
BESU_RECEIPT_COMPACTION_ENABLED=true
```
</TabItem>
<TabItem value="Configuration file" label="Configuration file">
```bash
receipt-compaction-enabled=true
```
</TabItem>
</Tabs>
Enables or disables receipt compaction.
Compacting receipts reduces storage by trimming unnecessary data from transaction receipts.
The default is `false`.
### `remote-connections-limit-enabled`
<Tabs>
Expand Down

0 comments on commit 09de426

Please sign in to comment.