From 0dbbbaaeeb380a2e368e64814d2ebd3dbcaba66f Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Tue, 3 Aug 2021 22:57:36 -0700 Subject: [PATCH] [lbry] config: support 'clmtimpl' and 'clmtheight' flags --- config.go | 2 ++ doc.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config.go b/config.go index 7124fe92..0216fe18 100644 --- a/config.go +++ b/config.go @@ -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"` diff --git a/doc.go b/doc.go index 70d0d9e4..a9de2b11 100644 --- a/doc.go +++ b/doc.go @@ -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