Commit 0732ad4e authored by am2rican5's avatar am2rican5

mobile: add RinkebyGenesis method

parent 3d32690b
...@@ -41,6 +41,15 @@ func TestnetGenesis() string { ...@@ -41,6 +41,15 @@ func TestnetGenesis() string {
return string(enc) 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 // FoundationBootnodes returns the enode URLs of the P2P bootstrap nodes operated
// by the foundation running the V5 discovery protocol. // by the foundation running the V5 discovery protocol.
func FoundationBootnodes() *Enodes { func FoundationBootnodes() *Enodes {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment