docker: add DUNITER_PRUNING_PROFILE variable
Values:
-
default
: default duniter pruning configuration -
archive
: set--state-pruning archive --blocks-pruning archive
-
light
: set--blocks-pruning 14400
(keep one day of blocks history)
Closes #102 (closed).
Merge request reports
Activity
added RN-silent label
To test
DUNITER_PRUNING_PROFILE=archive
I've restarted and fully sync'ed my RPC node with archive pruning profile. I was then able to certify 1000i100 via Gecko connected to this node which was previously impossible when it was in default mode due to the currently stopped finalization.EDIT: current disk space is about 7GB vs 3.4GB for my smith node with default pruning profile.
Edited by piniTesting all profiles:
- pini-gdev-rpc-archive (archive) = 7GB
- pini-gdev-rpc-light (light) < 1GB
- pini-gdev-smith (default) = 3.4GB
LGTM.
Edited by pinirequested review from @HugoTrentesaux
added 2 commits
Please register or sign in to reply