@@ -370,14 +370,17 @@ pCutConfig = id
370
370
<$< cutFetchTimeout .:: option auto
371
371
% long " cut-fetch-timeout"
372
372
<> help " The timeout for processing new cuts in microseconds"
373
+ <> internal
373
374
<*< cutInitialBlockHeightLimit .:: fmap (Just . BlockHeight ) . option auto
374
375
% long " initial-block-height-limit"
375
376
<> help " Reset initial cut to this block height."
376
377
<> metavar " INT"
378
+ <> internal
377
379
<*< cutFastForwardBlockHeightLimit .:: fmap (Just . BlockHeight ) . option auto
378
380
% long " fast-forward-block-height-limit"
379
381
<> help " When --only-sync-pact is given fast forward to this height. Ignored otherwise."
380
382
<> metavar " INT"
383
+ <> internal
381
384
382
385
-- -------------------------------------------------------------------------- --
383
386
-- Service API Configuration
@@ -437,6 +440,7 @@ pServiceApiConfig = id
437
440
<*< serviceApiPayloadBatchLimit .:: fmap PayloadBatchLimit . option auto
438
441
% prefixLong service " payload-batch-limit"
439
442
<> suffixHelp service " upper limit for the size of payload batches on the service API"
443
+ <> internal
440
444
<*< serviceApiConfigValidateSpec .:: enableDisableFlag
441
445
% prefixLong service " validate-spec"
442
446
<> internal -- hidden option, for expert use
@@ -627,19 +631,23 @@ pChainwebConfiguration = id
627
631
<> help " Max allowed reorg depth.\
628
632
\ Consult https://github.com/kadena-io/chainweb-node/blob/master/docs/RecoveringFromDeepForks.md for\
629
633
\ more information. "
634
+ <> internal
630
635
<*< parserOptionGroup " Cut Processing" (configCuts %:: pCutConfig)
631
636
<*< parserOptionGroup " Service API" (configServiceApi %:: pServiceApiConfig)
632
637
<*< parserOptionGroup " Mining Coordination" (configMining %:: pMiningConfig)
633
638
<*< configOnlySync .:: boolOption_
634
639
% long " only-sync"
635
640
<> help " Terminate after synchronizing the pact databases to the latest cut"
641
+ <> internal
636
642
<*< configReadOnlyReplay .:: boolOption_
637
643
% long " read-only-replay"
638
644
<> help " Replay the block history non-destructively"
645
+ <> internal
639
646
<*< configSyncChains .:: fmap Just % jsonOption
640
647
% long " sync-chains"
641
648
<> help " The only Pact databases to synchronize. If empty or unset, all chains will be synchronized."
642
649
<> metavar " JSON list of chain ids"
650
+ <> internal
643
651
<*< parserOptionGroup " Backup" (configBackup %:: pBackupConfig)
644
652
645
653
-- FIXME support payload providers
@@ -653,9 +661,9 @@ parseVersion = constructVersion
653
661
<> short ' v'
654
662
<> help " the chainweb version that this node is using"
655
663
)
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 )
659
667
where
660
668
constructVersion cliVersion fub bd disablePow' oldVersion = winningVersion
661
669
& versionBlockDelay .~ fromMaybe (_versionBlockDelay winningVersion) bd
0 commit comments