aboutsummaryrefslogtreecommitdiff
path: root/src/rpc.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-10-24 01:41:52 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2012-11-12 22:44:29 +0000
commit2d2e5bdcf46d3b4b50d07edb2e010cf7e1cde1b1 (patch)
treefbc62cbd3d0adf68ec3953ac6988398bd7329197 /src/rpc.cpp
parentb3f8f6ab9409d3e901d22c09b0346a5a47779496 (diff)
Fixes a race condition in CreateNewBlock.
CreateNewBlock was reading pindexBest at the start before taking the lock so it was possible to have the the block content not match the prevheader. (Partial of faff50d129b6d4b9e6397ac989218e83a26ae692)
Diffstat (limited to 'src/rpc.cpp')
0 files changed, 0 insertions, 0 deletions