Removed some logging

This commit is contained in:
obscuren
2014-06-20 00:42:26 +02:00
parent 6fcc6a2f7c
commit 8f29f6a4d4
2 changed files with 10 additions and 9 deletions

View File

@ -281,10 +281,12 @@ func (sm *StateManager) ValidateBlock(block *Block) error {
return ValidationError("Block timestamp less then prev block %v", diff)
}
/* XXX
// New blocks must be within the 15 minute range of the last block.
if diff > int64(15*time.Minute) {
return ValidationError("Block is too far in the future of last block (> 15 minutes)")
}
*/
// Verify the nonce of the block. Return an error if it's not valid
if !sm.Pow.Verify(block.HashNoNonce(), block.Difficulty, block.Nonce) {