Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
ee748d14
Commit
ee748d14
authored
Jul 31, 2017
by
Péter Szilágyi
Committed by
GitHub
Jul 31, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14882 from am2rican5/rinkeby-genesis
mobile: add RinkebyGenesis method
parents
3d32690b
0732ad4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
params.go
mobile/params.go
+9
-0
No files found.
mobile/params.go
View file @
ee748d14
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment