@@ -371,14 +371,17 @@ pCutConfig = id
371371 <$< cutFetchTimeout .:: option auto
372372 % long " cut-fetch-timeout"
373373 <> help " The timeout for processing new cuts in microseconds"
374+ <> internal
374375 <*< cutInitialBlockHeightLimit .:: fmap (Just . BlockHeight ) . option auto
375376 % long " initial-block-height-limit"
376377 <> help " Reset initial cut to this block height."
377378 <> metavar " INT"
379+ <> internal
378380 <*< cutFastForwardBlockHeightLimit .:: fmap (Just . BlockHeight ) . option auto
379381 % long " fast-forward-block-height-limit"
380382 <> help " When --only-sync-pact is given fast forward to this height. Ignored otherwise."
381383 <> metavar " INT"
384+ <> internal
382385
383386-- -------------------------------------------------------------------------- --
384387-- Service API Configuration
@@ -443,6 +446,7 @@ pServiceApiConfig = id
443446 <*< serviceApiPayloadBatchLimit .:: fmap PayloadBatchLimit . option auto
444447 % prefixLong service " payload-batch-limit"
445448 <> suffixHelp service " upper limit for the size of payload batches on the service API"
449+ <> internal
446450 <*< serviceApiConfigValidateSpec .:: enableDisableFlag
447451 % prefixLong service " validate-spec"
448452 <> internal -- hidden option, for expert use
@@ -630,19 +634,23 @@ pChainwebConfiguration = id
630634 <> help " Max allowed reorg depth.\
631635 \ Consult https://github.com/kadena-io/chainweb-node/blob/master/docs/RecoveringFromDeepForks.md for\
632636 \ more information. "
637+ <> internal
633638 <*< parserOptionGroup " Cut Processing" (configCuts %:: pCutConfig)
634639 <*< parserOptionGroup " Service API" (configServiceApi %:: pServiceApiConfig)
635640 <*< parserOptionGroup " Mining Coordination" (configMining %:: pMiningConfig)
636641 <*< configOnlySync .:: boolOption_
637642 % long " only-sync"
638643 <> help " Terminate after synchronizing the pact databases to the latest cut"
644+ <> internal
639645 <*< configReadOnlyReplay .:: boolOption_
640646 % long " read-only-replay"
641647 <> help " Replay the block history non-destructively"
648+ <> internal
642649 <*< configSyncChains .:: fmap Just % jsonOption
643650 % long " sync-chains"
644651 <> help " The only Pact databases to synchronize. If empty or unset, all chains will be synchronized."
645652 <> metavar " JSON list of chain ids"
653+ <> internal
646654 <*< parserOptionGroup " Backup" (configBackup %:: pBackupConfig)
647655
648656 -- FIXME support payload providers
@@ -658,9 +666,9 @@ parseVersion = constructVersion
658666 <> metavar (T. unpack $
659667 " [" <> T. intercalate " ," (getChainwebVersionName . _versionName <$> knownVersions) <> " ]" )
660668 )
661- <*> optional (textOption @ Fork (long " fork-upper-bound" <> help " (development mode only) the latest fork the node will enable" ))
662- <*> optional (BlockDelay <$> textOption (long " block-delay" <> help " (development mode only) the block delay in seconds per block" ) )
663- <*> switch (long " disable-pow" <> help " (development mode only) disable proof of work check" )
669+ <*> optional (textOption @ Fork (long " fork-upper-bound" <> help " (development mode only) the latest fork the node will enable" <> internal ))
670+ <*> optional (BlockDelay <$> textOption (long " block-delay" <> help " (development mode only) the block delay in seconds per block" <> internal) )
671+ <*> switch (long " disable-pow" <> help " (development mode only) disable proof of work check" <> internal )
664672 where
665673 constructVersion cliVersion fub bd disablePow' oldVersion = winningVersion
666674 & versionBlockDelay .~ fromMaybe (_versionBlockDelay winningVersion) bd
0 commit comments