aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2017-11-07 10:40:55 -0500
committerMarcoFalke <[email protected]>2017-11-07 10:40:59 -0500
commit87d90efd69b64f769116956a5db89e536e9e3714 (patch)
tree09433c3c2b55ff9901204d7a30b3e6f61f36a99a /src/script/script.cpp
parentMerge #11585: addrman: Add missing lock in Clear() (CAddrMan) (diff)
parentAdd missing cs_main locks when calling blockToJSON/blockheaderToJSON (diff)
downloaddiscoin-87d90efd69b64f769116956a5db89e536e9e3714.tar.xz
discoin-87d90efd69b64f769116956a5db89e536e9e3714.zip
Merge #11618: rpc: Lock cs_main in blockToJSON/blockheaderToJSON
a9b6ba0b7 Add missing cs_main locks when calling blockToJSON/blockheaderToJSON (practicalswift) Pull request description: `blockToJSON(...)` and `blockheaderToJSON(...)` read the variable `chainActive` which requires holding the mutex `cs_main`. So does `GetDifficulty(...)`. Tree-SHA512: bfb94f5e3238accbf6a4daddde49d53f1891c38ae9b07e25b3098c485747159258f64bb66a50e147b32beac601de89d9d04ff717b6c4f1460d329c90a53d3333
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions