Added a execBlock method which replays the given block

This commit is contained in:
obscuren
2014-06-23 11:28:05 +02:00
parent 2408e38218
commit 176b780251
2 changed files with 21 additions and 3 deletions

View File

@ -38,9 +38,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)
}
*/
ethutil.Config.Log.Infoln("Miner started")