mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-25 19:12:24 +00:00
mobile: add RinkebyGenesis method
This commit is contained in:
parent
3d32690b54
commit
0732ad4e47
1 changed files with 9 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue