From a02564eaf28d7db714a0c4a6c9bf65c7c0e6a17b Mon Sep 17 00:00:00 2001 From: sectrgt Date: Fri, 14 Oct 2022 19:48:02 +0000 Subject: [PATCH] modified: documentation/en/cli-lotus.md --- documentation/en/cli-lotus.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index eb57455b5..71b7105af 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -2059,6 +2059,7 @@ COMMANDS: decode decode various types encode encode various types disputer interact with the window post disputer + prune prune the stored chain state and perform garbage collection help, h Shows a list of commands or help for one command OPTIONS: @@ -2381,6 +2382,22 @@ OPTIONS: ``` +### lotus chain prune +``` +NAME: + lotus chain prune - prune the stored chain state and perform garbage collection + +USAGE: + lotus chain prune [command options] [arguments...] + +OPTIONS: + --move-to value specify new path for coldstore during moving gc + --moving-gc use moving gc for garbage collecting the coldstore (default: false) + --online-gc use online gc for garbage collecting the coldstore (default: false) + --retention value specify state retention policy (default: -1) + +``` + ## lotus log ``` NAME: