2018-03-26 15:52:19 +03:00
|
|
|
package params
|
|
|
|
|
2018-07-25 16:03:35 +02:00
|
|
|
// Define available fleets.
|
|
|
|
const (
|
2018-08-08 09:53:20 +02:00
|
|
|
FleetUndefined = ""
|
2020-02-10 15:41:12 +01:00
|
|
|
FleetProd = "eth.prod"
|
2018-08-08 09:53:20 +02:00
|
|
|
FleetStaging = "eth.staging"
|
2020-02-26 20:36:25 +01:00
|
|
|
FleetTest = "eth.test"
|
2018-07-25 16:03:35 +02:00
|
|
|
)
|
|
|
|
|
2018-08-21 15:48:58 +02:00
|
|
|
// Cluster defines a list of Ethereum nodes.
|
|
|
|
type Cluster struct {
|
2018-08-08 11:41:46 +03:00
|
|
|
StaticNodes []string `json:"staticnodes"`
|
|
|
|
BootNodes []string `json:"bootnodes"`
|
|
|
|
MailServers []string `json:"mailservers"` // list of trusted mail servers
|
|
|
|
RendezvousNodes []string `json:"rendezvousnodes"`
|
2018-03-26 15:52:19 +03:00
|
|
|
}
|