Merge pull request #14882 from am2rican5/rinkeby-genesis

mobile: add RinkebyGenesis method
This commit is contained in:
Péter Szilágyi 2017-07-31 12:27:45 +03:00 committed by GitHub
commit ee748d1451

View File

@ -41,6 +41,15 @@ func TestnetGenesis() string {
return string(enc)
}
// RinkebyGenesis returns the JSON spec to use for the Rinkeby test network
func RinkebyGenesis() string {
enc, err := json.Marshal(core.DefaultRinkebyGenesisBlock())
if err != nil {
panic(err)
}
return string(enc)
}
// FoundationBootnodes returns the enode URLs of the P2P bootstrap nodes operated
// by the foundation running the V5 discovery protocol.
func FoundationBootnodes() *Enodes {