From ceba136a70d5f17976390c4529e42cb2d203b165 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Mon, 12 Jul 2021 13:09:32 -0700 Subject: [PATCH] [lbry] config: add ClaimTrie flag --- config.go | 3 +++ doc.go | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config.go b/config.go index 728a02c5..d2db3fa8 100644 --- a/config.go +++ b/config.go @@ -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"` diff --git a/doc.go b/doc.go index 70d0d9e4..5d1f0356 100644 --- a/doc.go +++ b/doc.go @@ -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