diff options
author | zelig <viktor.tron@gmail.com> | 2015-04-08 01:53:05 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-09 20:58:35 +0800 |
commit | 42fb9652f56321d2752ffe7773806df11f3087b8 (patch) | |
tree | a78446ca225ec280e5e2dea83d4a80cfea7239f3 /pow | |
parent | 30830652ae9ca15d1d9e1d32a22f9af671ae8a5a (diff) | |
download | go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.tar go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.tar.gz go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.tar.bz2 go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.tar.lz go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.tar.xz go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.tar.zst go-tangerine-42fb9652f56321d2752ffe7773806df11f3087b8.zip |
fix blockpool deadlock
- do not break from headsection on error
[remove peer after protocol quit will close switchC, until then head block can arrive and block on channel while keeping peers lock causing a deadlock.]
- more careful locking in AddBlock
Diffstat (limited to 'pow')
0 files changed, 0 insertions, 0 deletions