core, miner, tests: added test, implemented bad block reporting

This commit is contained in:
Jeffrey Wilcke
2015-07-04 17:45:18 +02:00
parent 9c3db1be1d
commit bcc1660abc
4 changed files with 61 additions and 2 deletions

View File

@ -298,8 +298,6 @@ func (self *worker) push() {
if agent.Work() != nil {
agent.Work() <- self.current.block
} else {
common.Report(fmt.Sprintf("%v %T\n", agent, agent))
}
}
}