diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-21 04:52:29 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-22 10:02:24 +0800 |
commit | 95038fc62dc73da3f04bd37c0bdc29170eec0169 (patch) | |
tree | a15ca6c085ac20e201eef3f386521ab1df9eed14 /rpc | |
parent | 7f85608f30a2e34005c8d15566849229c758c2f1 (diff) | |
download | go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.tar go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.tar.gz go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.tar.bz2 go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.tar.lz go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.tar.xz go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.tar.zst go-tangerine-95038fc62dc73da3f04bd37c0bdc29170eec0169.zip |
Idle too long error incorrectly triggered even when peer sending new blocks
- fix status chain map uses common.Hash as key
- add badPeers increment to IncorrectTD errors (forgotten)
- signal head info update to head section process even if parent hash is not in pool (inserted), so that idle timer can be set to nil
- suicideC -> peer.headInfoTimer
- quit -> peer.bestIdleTimer
- and they are properly set from within getBlockHashes and handleSection
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions