logging for possible uncles

This commit is contained in:
obscuren
2015-03-23 16:14:33 +01:00
parent 524f8199bf
commit dc3a9379f5
4 changed files with 44 additions and 25 deletions

View File

@ -447,6 +447,11 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
continue
}
if err == BlockEqualTSErr {
queue[i] = ChainSideEvent{block, logs}
continue
}
h := block.Header()
chainlogger.Infof("INVALID block #%v (%x)\n", h.Number, h.Hash().Bytes()[:4])
chainlogger.Infoln(err)