• zelig's avatar
    fix blockpool deadlock · 42fb9652
    zelig authored
    - 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
    42fb9652
Name
Last commit
Last update
..
test Loading commit data...
blockpool.go Loading commit data...
blockpool_test.go Loading commit data...
blockpool_util_test.go Loading commit data...
config_test.go Loading commit data...
errors_test.go Loading commit data...
peers.go Loading commit data...
peers_test.go Loading commit data...
section.go Loading commit data...
status.go Loading commit data...
status_test.go Loading commit data...