2021-02-01 19:00:06 +00:00
|
|
|
package params
|
|
|
|
|
|
|
|
const (
|
2021-03-18 21:00:00 +00:00
|
|
|
Mainnet ConfigName = iota
|
2021-08-09 18:40:06 +00:00
|
|
|
Minimal
|
2021-02-01 19:00:06 +00:00
|
|
|
EndToEnd
|
|
|
|
Pyrmont
|
|
|
|
Toledo
|
2021-03-17 14:14:07 +00:00
|
|
|
Prater
|
2021-02-01 19:00:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// ConfigNames provides network configuration names.
|
2021-03-18 21:00:00 +00:00
|
|
|
var ConfigNames = map[ConfigName]string{
|
2021-02-01 19:00:06 +00:00
|
|
|
Mainnet: "mainnet",
|
2021-08-09 18:40:06 +00:00
|
|
|
Minimal: "minimal",
|
2021-02-01 19:00:06 +00:00
|
|
|
EndToEnd: "end-to-end",
|
|
|
|
Pyrmont: "pyrmont",
|
|
|
|
Toledo: "toledo",
|
2021-03-17 14:14:07 +00:00
|
|
|
Prater: "prater",
|
2021-02-01 19:00:06 +00:00
|
|
|
}
|
|
|
|
|
2021-03-18 21:00:00 +00:00
|
|
|
// ConfigName enum describes the type of known network in use.
|
|
|
|
type ConfigName = int
|