2019-09-11 18:38:35 +00:00
|
|
|
package flags
|
|
|
|
|
|
|
|
import (
|
2020-03-19 21:46:44 +00:00
|
|
|
"gopkg.in/urfave/cli.v2"
|
2019-09-11 18:38:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Flags defined for interoperability testing.
|
|
|
|
var (
|
2020-03-19 21:46:44 +00:00
|
|
|
InteropStartIndex = &cli.Uint64Flag{
|
2019-09-11 18:38:35 +00:00
|
|
|
Name: "interop-start-index",
|
|
|
|
Usage: "The start index to deterministically generate validator keys when used in combination with " +
|
|
|
|
"--interop-num-validators. Example: --interop-start-index=5 --interop-num-validators=3 would generate " +
|
|
|
|
"keys from index 5 to 7.",
|
|
|
|
}
|
2020-03-19 21:46:44 +00:00
|
|
|
InteropNumValidators = &cli.Uint64Flag{
|
2019-09-11 18:38:35 +00:00
|
|
|
Name: "interop-num-validators",
|
|
|
|
Usage: "The number of validators to deterministically generate when used in combination with " +
|
|
|
|
"--interop-num-validators. Example: --interop-start-index=5 --interop-num-validators=3 would generate " +
|
|
|
|
"keys from index 5 to 7.",
|
|
|
|
}
|
|
|
|
)
|