aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJesse Cohen <jc@jc.lol>2018-05-10 15:57:16 -0400
committerJesse Cohen <jc@jc.lol>2018-05-12 12:44:32 -0400
commita3ae8e68739023e5dba9e5cb190e707ed4603316 (patch)
tree6995c621267b759e46cbda4b9141583a606dd765 /src/test
parentecc3c4a019e6db30e208b8554b1a3658dcb9a80a (diff)
Fix concurrency-related bugs in ActivateBestChain
If multiple threads are invoking ActivateBestChain, it was possible to have them working towards different tips, and we could arrive at a less work tip than we should. Fix this by introducing a ChainState lock which must be held for the entire duration of ActivateBestChain to enforce exclusion in ABC.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions