Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kch/add fullpruning config #177

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions setup-wizard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,38 @@ fields:
- "false"
default: "true"
required: true

- id: PruningTriggerType
target:
type: environment
name: NETHERMIND_PRUNINGCONFIG_FULLPRUNINGTRIGGER
service: nethermind
title: Full Pruning Trigger Type
description: >-
The full pruning trigger which accepts config values like:


**Manual**: Triggered manually with JsonRPC call. (default)


**StateDbSize**: Trigger when the state DB size is above the threshold.


**VolumeFreeSpace**: Trigger when the free disk space where the state DB is stored is below the threshold.
enum:
- "Manual"
- "StateDbSize"
- "VolumeFreeSpace"
default: "Manual"
required: true

- id: PruningThresholdMb
target:
type: environment
name: NETHERMIND_PRUNINGCONFIG_FULLPRUNINGTHRESHOLDMB
service: nethermind
title: Full Pruning Threshold in Mb
description: >-
The threshold, in MB, to trigger full pruning. Depends on Mode and FullPruningTrigger. Defaults to 256000.
default: "256000"
required: true
Loading