forked from cerc-io/plugeth
Changed seeding
This commit is contained in:
parent
f59f515def
commit
0bf2d24cb0
@ -42,7 +42,6 @@ func main() {
|
|||||||
|
|
||||||
ethchain.InitFees()
|
ethchain.InitFees()
|
||||||
ethutil.ReadConfig(DataDir)
|
ethutil.ReadConfig(DataDir)
|
||||||
ethutil.Config.Seed = UseSeed
|
|
||||||
|
|
||||||
// Instantiated a eth stack
|
// Instantiated a eth stack
|
||||||
ethereum, err := eth.New(eth.CapDefault, UseUPnP)
|
ethereum, err := eth.New(eth.CapDefault, UseUPnP)
|
||||||
|
@ -88,7 +88,7 @@ func (ui *UiLib) Muted(content string) {
|
|||||||
|
|
||||||
func (ui *UiLib) Connect(button qml.Object) {
|
func (ui *UiLib) Connect(button qml.Object) {
|
||||||
if !ui.connected {
|
if !ui.connected {
|
||||||
ui.eth.Start()
|
ui.eth.Start(true)
|
||||||
ui.connected = true
|
ui.connected = true
|
||||||
button.Set("enabled", false)
|
button.Set("enabled", false)
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,6 @@ func main() {
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
ethchain.InitFees()
|
ethchain.InitFees()
|
||||||
ethutil.Config.Seed = UseSeed
|
|
||||||
|
|
||||||
// Instantiated a eth stack
|
// Instantiated a eth stack
|
||||||
ethereum, err := eth.New(eth.CapDefault, UseUPnP)
|
ethereum, err := eth.New(eth.CapDefault, UseUPnP)
|
||||||
@ -139,7 +138,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
RegisterInterrupts(ethereum)
|
RegisterInterrupts(ethereum)
|
||||||
ethereum.Start()
|
|
||||||
|
ethereum.Start(UseSeed)
|
||||||
|
|
||||||
if StartMining {
|
if StartMining {
|
||||||
logger.Infoln("Miner started")
|
logger.Infoln("Miner started")
|
||||||
|
Loading…
Reference in New Issue
Block a user