[lbry] config: add ClaimTrie flag

This commit is contained in:
Roy Lee 2021-07-12 13:09:32 -07:00
parent 9e5a717c39
commit ceba136a70
2 changed files with 6 additions and 0 deletions

View file

@ -108,6 +108,9 @@ 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"`
ClaimTrieRecord bool `long:"clmtrecord" description:"Record claim operations made to 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"`

3
doc.go
View file

@ -45,6 +45,9 @@ Application Options:
50000)
--blocksonly Do not accept transactions from remote peers.
-C, --configfile= Path to configuration file
--clmtimpl= Implementation of ClaimTrie
--clmtrecord= Record claim operations
--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