diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-09 23:27:43 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-09 23:39:02 +0800 |
commit | 764a802eaa33892447b82069ee1b1bb5a478837b (patch) | |
tree | 02daa2105b89b5b6419521785f6f54d217ed544c /blockpool/blockpool.go | |
parent | 663fd8f8491fcf10429388237cbb361856c6e49c (diff) | |
download | go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.tar go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.tar.gz go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.tar.bz2 go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.tar.lz go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.tar.xz go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.tar.zst go-tangerine-764a802eaa33892447b82069ee1b1bb5a478837b.zip |
Disabled TD check
@zelig: Temporarily commented out TD check untill the rest of the network has
been fixed.
Diffstat (limited to 'blockpool/blockpool.go')
-rw-r--r-- | blockpool/blockpool.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/blockpool/blockpool.go b/blockpool/blockpool.go index 7a65768c7..f442259e0 100644 --- a/blockpool/blockpool.go +++ b/blockpool/blockpool.go @@ -790,12 +790,14 @@ func (self *BlockPool) checkTD(nodes ...*node) { // skip check if queued future block if n.td != nil && !n.block.Queued() { plog.DebugDetailf("peer td %v =?= block td %v", n.td, n.block.Td) + /* @zelig: Commented out temp untill the rest of the network has been fixed. if n.td.Cmp(n.block.Td) != 0 { self.peers.peerError(n.blockBy, ErrIncorrectTD, "on block %x", n.hash) self.status.lock.Lock() self.status.badPeers[n.blockBy]++ self.status.lock.Unlock() } + */ } } } |