Readline repl for linux & osx

This commit is contained in:
obscuren committed 2014-05-17 15:15:46 +02:00
1 parent 2ac292dc7a
commit 770808ce0d
7 files changed
+122 -39

No files matched your search

+5 -3
View File
@@ -35,9 +35,11 @@ func DoMining(ethereum *eth.Ethereum) {
// Give it some time to connect with peers
time.Sleep(3 * time.Second)
for ethereum.IsUpToDate() == false {
time.Sleep(5 * time.Second)
}
/*
for ethereum.IsUpToDate() == false {
time.Sleep(5 * time.Second)
}
*/
log.Println("Miner started")
miner := ethminer.NewDefaultMiner(addr, ethereum)