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
0bf2d24c
Commit
0bf2d24c
authored
May 09, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed seeding
parent
f59f515d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
ethereum.go
ethereal/ethereum.go
+0
-1
ui_lib.go
ethereal/ui/ui_lib.go
+1
-1
ethereum.go
ethereum/ethereum.go
+2
-2
No files found.
ethereal/ethereum.go
View file @
0bf2d24c
...
...
@@ -42,7 +42,6 @@ func main() {
ethchain
.
InitFees
()
ethutil
.
ReadConfig
(
DataDir
)
ethutil
.
Config
.
Seed
=
UseSeed
// Instantiated a eth stack
ethereum
,
err
:=
eth
.
New
(
eth
.
CapDefault
,
UseUPnP
)
...
...
ethereal/ui/ui_lib.go
View file @
0bf2d24c
...
...
@@ -88,7 +88,7 @@ func (ui *UiLib) Muted(content string) {
func
(
ui
*
UiLib
)
Connect
(
button
qml
.
Object
)
{
if
!
ui
.
connected
{
ui
.
eth
.
Start
()
ui
.
eth
.
Start
(
true
)
ui
.
connected
=
true
button
.
Set
(
"enabled"
,
false
)
}
...
...
ethereum/ethereum.go
View file @
0bf2d24c
...
...
@@ -73,7 +73,6 @@ func main() {
}*/
ethchain
.
InitFees
()
ethutil
.
Config
.
Seed
=
UseSeed
// Instantiated a eth stack
ethereum
,
err
:=
eth
.
New
(
eth
.
CapDefault
,
UseUPnP
)
...
...
@@ -139,7 +138,8 @@ func main() {
}
RegisterInterrupts
(
ethereum
)
ethereum
.
Start
()
ethereum
.
Start
(
UseSeed
)
if
StartMining
{
logger
.
Infoln
(
"Miner started"
)
...
...
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