@@ -370,14 +370,17 @@ pCutConfig = id
370370 <$< cutFetchTimeout .:: option auto
371371 % long " cut-fetch-timeout"
372372 <> help " The timeout for processing new cuts in microseconds"
373+ <> internal
373374 <*< cutInitialBlockHeightLimit .:: fmap (Just . BlockHeight ) . option auto
374375 % long " initial-block-height-limit"
375376 <> help " Reset initial cut to this block height."
376377 <> metavar " INT"
378+ <> internal
377379 <*< cutFastForwardBlockHeightLimit .:: fmap (Just . BlockHeight ) . option auto
378380 % long " fast-forward-block-height-limit"
379381 <> help " When --only-sync-pact is given fast forward to this height. Ignored otherwise."
380382 <> metavar " INT"
383+ <> internal
381384
382385-- -------------------------------------------------------------------------- --
383386-- Service API Configuration
@@ -437,6 +440,7 @@ pServiceApiConfig = id
437440 <*< serviceApiPayloadBatchLimit .:: fmap PayloadBatchLimit . option auto
438441 % prefixLong service " payload-batch-limit"
439442 <> suffixHelp service " upper limit for the size of payload batches on the service API"
443+ <> internal
440444 <*< serviceApiConfigValidateSpec .:: enableDisableFlag
441445 % prefixLong service " validate-spec"
442446 <> internal -- hidden option, for expert use
@@ -627,19 +631,23 @@ pChainwebConfiguration = id
627631 <> help " Max allowed reorg depth.\
628632 \ Consult https://github.com/kadena-io/chainweb-node/blob/master/docs/RecoveringFromDeepForks.md for\
629633 \ more information. "
634+ <> internal
630635 <*< parserOptionGroup " Cut Processing" (configCuts %:: pCutConfig)
631636 <*< parserOptionGroup " Service API" (configServiceApi %:: pServiceApiConfig)
632637 <*< parserOptionGroup " Mining Coordination" (configMining %:: pMiningConfig)
633638 <*< configOnlySync .:: boolOption_
634639 % long " only-sync"
635640 <> help " Terminate after synchronizing the pact databases to the latest cut"
641+ <> internal
636642 <*< configReadOnlyReplay .:: boolOption_
637643 % long " read-only-replay"
638644 <> help " Replay the block history non-destructively"
645+ <> internal
639646 <*< configSyncChains .:: fmap Just % jsonOption
640647 % long " sync-chains"
641648 <> help " The only Pact databases to synchronize. If empty or unset, all chains will be synchronized."
642649 <> metavar " JSON list of chain ids"
650+ <> internal
643651 <*< parserOptionGroup " Backup" (configBackup %:: pBackupConfig)
644652
645653 -- FIXME support payload providers
@@ -653,9 +661,9 @@ parseVersion = constructVersion
653661 <> short ' v'
654662 <> help " the chainweb version that this node is using"
655663 )
656- <*> optional (textOption @ Fork (long " fork-upper-bound" <> help " (development mode only) the latest fork the node will enable" ))
657- <*> optional (BlockDelay <$> textOption (long " block-delay" <> help " (development mode only) the block delay in seconds per block" ) )
658- <*> switch (long " disable-pow" <> help " (development mode only) disable proof of work check" )
664+ <*> optional (textOption @ Fork (long " fork-upper-bound" <> help " (development mode only) the latest fork the node will enable" <> internal ))
665+ <*> optional (BlockDelay <$> textOption (long " block-delay" <> help " (development mode only) the block delay in seconds per block" <> internal) )
666+ <*> switch (long " disable-pow" <> help " (development mode only) disable proof of work check" <> internal )
659667 where
660668 constructVersion cliVersion fub bd disablePow' oldVersion = winningVersion
661669 & versionBlockDelay .~ fromMaybe (_versionBlockDelay winningVersion) bd
0 commit comments