提交 ee748d14 编写于 作者: P Péter Szilágyi 提交者: GitHub

Merge pull request #14882 from am2rican5/rinkeby-genesis

mobile: add RinkebyGenesis method
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册