You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<>OA.help "Number of pool nodes. Note this uses a default node configuration for all nodes."
81
+
<>OA.metavar "COUNT"
82
+
<>OA.showDefault
83
+
<>OA.value 1)
84
+
, UserProvidedNodeOptions
85
+
<$> strOption ( long "node-config"
86
+
<> metavar "FILEPATH"
87
+
<> help "Path to the node's configuration file (which is generated otherwise). If you use this option, you should also pass all the genesis files (files pointed to by the fields \"AlonzoGenesisFile\", \"ShelleyGenesisFile\", etc.).")
88
+
]
81
89
where
82
90
defaultSpoOptions =SpoNodeOptions[]
91
+
-- \| Because asum is not available GHC 8.10.7's base (4.14.3.0). This can be removed
92
+
-- when oldest version of GHC we use is >= 9.0 (base >= 4.15)
93
+
asum':: (Foldablet, Alternativef) =>t (fa) ->fa
94
+
asum' =foldr(<|>) empty
83
95
84
96
pGenesisOptions::ParserGenesisOptions
85
97
pGenesisOptions =
@@ -92,23 +104,26 @@ pGenesisOptions =
92
104
pEpochLength =
93
105
OA.option auto
94
106
( OA.long "epoch-length"
95
-
<>OA.help "Epoch length, in number of slots"
107
+
-- TODO Check that this flag is not used when a custom Shelley genesis file is passed
108
+
<>OA.help "Epoch length, in number of slots. Ignored if a custom Shelley genesis file is passed."
96
109
<>OA.metavar "SLOTS"
97
110
<>OA.showDefault
98
111
<>OA.value (genesisEpochLength def)
99
112
)
100
113
pSlotLength =
101
114
OA.option auto
102
115
( OA.long "slot-length"
103
-
<>OA.help "Slot length"
116
+
-- TODO Check that this flag is not used when a custom Shelley genesis file is passed
117
+
<>OA.help "Slot length. Ignored if a custom Shelley genesis file is passed."
104
118
<>OA.metavar "SECONDS"
105
119
<>OA.showDefault
106
120
<>OA.value (genesisSlotLength def)
107
121
)
108
122
pActiveSlotCoeffs =
109
123
OA.option auto
110
124
( OA.long "active-slots-coeff"
111
-
<>OA.help "Active slots co-efficient"
125
+
-- TODO Check that this flag is not used when a custom Shelley genesis file is passed
126
+
<>OA.help "Active slots coefficient. Ignored if a custom Shelley genesis file is passed."
0 commit comments