Skip to content

Commit

Permalink
mobile: add RinkebyGenesis method
Browse files Browse the repository at this point in the history
  • Loading branch information
am2rican5 committed Jul 31, 2017
1 parent 3d32690 commit 0732ad4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mobile/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0732ad4

Please sign in to comment.