Merge pull request #9373 from sectrgt/master
fix: chain: Update chain.go
This commit is contained in:
commit
54d3e412f1
@ -62,6 +62,7 @@ var ChainCmd = &cli.Command{
|
|||||||
ChainDecodeCmd,
|
ChainDecodeCmd,
|
||||||
ChainEncodeCmd,
|
ChainEncodeCmd,
|
||||||
ChainDisputeSetCmd,
|
ChainDisputeSetCmd,
|
||||||
|
ChainPruneCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2059,6 +2059,7 @@ COMMANDS:
|
|||||||
decode decode various types
|
decode decode various types
|
||||||
encode encode various types
|
encode encode various types
|
||||||
disputer interact with the window post disputer
|
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
|
help, h Shows a list of commands or help for one command
|
||||||
|
|
||||||
OPTIONS:
|
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
|
## lotus log
|
||||||
```
|
```
|
||||||
NAME:
|
NAME:
|
||||||
|
Loading…
Reference in New Issue
Block a user