diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-03 01:43:12 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-03 01:43:12 +0800 |
commit | a60a18b080197cad836f18f9d093bba3bcb6cef8 (patch) | |
tree | bf5faaf44d1875a6c0cfe65107ad7329d70d2138 /blockpool/peers.go | |
parent | 16ecda951b767800b4e09ad8e86e0866b05136be (diff) | |
download | go-tangerine-a60a18b080197cad836f18f9d093bba3bcb6cef8.tar.gz go-tangerine-a60a18b080197cad836f18f9d093bba3bcb6cef8.tar.zst go-tangerine-a60a18b080197cad836f18f9d093bba3bcb6cef8.zip |
- fix peer disconnect by adding severity function to errs
- improve logging
- suicide -> removeChain
- improved status BlocksInPool calculation
Diffstat (limited to 'blockpool/peers.go')
-rw-r--r-- | blockpool/peers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blockpool/peers.go b/blockpool/peers.go index 5f1b2017c..576d6e41d 100644 --- a/blockpool/peers.go +++ b/blockpool/peers.go @@ -503,7 +503,7 @@ LOOP: // quitting on timeout case <-self.suicide: - self.peerError(self.bp.peers.errors.New(ErrInsufficientChainInfo, "timed out without providing block hashes or head block", currentBlockHash)) + self.peerError(self.bp.peers.errors.New(ErrInsufficientChainInfo, "timed out without providing block hashes or head block %x", currentBlockHash)) self.bp.status.lock.Lock() self.bp.status.badPeers[self.id]++ |