github.com/prysmaticlabs/prysm@v1.4.4/shared/params/values.go (about)

     1  package params
     2  
     3  const (
     4  	Mainnet ConfigName = iota
     5  	EndToEnd
     6  	Pyrmont
     7  	Toledo
     8  	Prater
     9  )
    10  
    11  // ConfigNames provides network configuration names.
    12  var ConfigNames = map[ConfigName]string{
    13  	Mainnet:  "mainnet",
    14  	EndToEnd: "end-to-end",
    15  	Pyrmont:  "pyrmont",
    16  	Toledo:   "toledo",
    17  	Prater:   "prater",
    18  }
    19  
    20  // ConfigName enum describes the type of known network in use.
    21  type ConfigName = int