Disabled PoW check

@zelig we need to discuss this
This commit is contained in:
obscuren 2015-04-05 15:14:06 +02:00
parent 50edd4243e
commit 5b9a0e7118
1 changed files with 12 additions and 9 deletions

View File

@ -687,6 +687,8 @@ func (self *BlockPool) AddBlock(block *types.Block, peerId string) {
return
}
/*
@zelig needs discussing
// validate block for PoW
if !self.verifyPoW(block) {
plog.Warnf("AddBlock: invalid PoW on block %s from peer <%s> (head: %s)", hex(hash), peerId, hex(sender.currentBlockHash))
@ -698,6 +700,7 @@ func (self *BlockPool) AddBlock(block *types.Block, peerId string) {
return
}
*/
node.block = block
node.blockBy = peerId