aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-10-21 16:56:34 +0200
committerJon Atack <jon@atack.com>2022-01-25 20:43:19 +0100
commit2e557ced2830fc54476e598d52225f1679205e7d (patch)
tree04880e45f0d5fd0fc3d1c27a7758ed969749ac97 /src/chain.h
parent6fd4341c10b319399c58d71c4ddeae4417e337d7 (diff)
Require WriteUndoDataForBlock() to hold mutex cs_main
Mutex cs_main is already held by the caller of WriteUndoDataForBlock(). This change is needed to require CBlockIndex::GetUndoPos() to hold cs_main and CBlockIndex::nStatus to be guarded by cs_main in the following commits without adding 2 unnecessary cs_main locks to WriteUndoDataForBlock().
Diffstat (limited to 'src/chain.h')
0 files changed, 0 insertions, 0 deletions