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

@ -611,6 +611,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) (int, error) {
blockErr(block, err)
go ReportBlock(block, err)
return i, err
}