[lbry] config: support 'clmtimpl' and 'clmtheight' flags

This commit is contained in:
Roy Lee 2021-08-03 22:57:36 -07:00
parent 5ff5739b47
commit 0dbbbaaeeb
2 changed files with 4 additions and 0 deletions

View file

@ -108,6 +108,8 @@ type config struct {
BlockPrioritySize uint32 `long:"blockprioritysize" description:"Size in bytes for high-priority/low-fee transactions when creating a block"`
BlocksOnly bool `long:"blocksonly" description:"Do not accept transactions from remote peers."`
ConfigFile string `short:"C" long:"configfile" description:"Path to configuration file"`
ClaimTrieImpl string `long:"clmtimpl" description:"Implementation of ClaimTrie"`
ClaimTrieHeight uint32 `long:"clmtheight" description:"Reset height of ClaimTrie"`
ConnectPeers []string `long:"connect" description:"Connect only to the specified peers at startup"`
CPUProfile string `long:"cpuprofile" description:"Write CPU profile to the specified file"`
DataDir string `short:"b" long:"datadir" description:"Directory to store data"`

2
doc.go
View file

@ -45,6 +45,8 @@ Application Options:
50000)
--blocksonly Do not accept transactions from remote peers.
-C, --configfile= Path to configuration file
--clmtimpl= Implementation of ClaimTrie
--clmtheight= Reset height of ClaimTrie
--connect= Connect only to the specified peers at startup
--cpuprofile= Write CPU profile to the specified file
-b, --datadir= Directory to store data