From a041fc9fc08e49d0b670d842bb4bf38383ec358d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Chodo=C5=82a?= <43241881+kamilchodola@users.noreply.github.com> Date: Tue, 14 May 2024 10:20:44 +0200 Subject: [PATCH] Fullpruning config values --- setup-wizard.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/setup-wizard.yml b/setup-wizard.yml index 544595c..440b722 100644 --- a/setup-wizard.yml +++ b/setup-wizard.yml @@ -164,3 +164,32 @@ 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