aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2016-10-15 17:34:02 -0400
committerMatt Corallo <[email protected]>2016-11-17 17:10:00 -0800
commitec4525ccc1c1b66bc99f064348a9842e163c1324 (patch)
treed84af25c530bb832408d3cc7cfc54a8e0c2314b4 /src/net_processing.cpp
parentMerge #9075: Decouple peer-processing-logic from block-connection-logic (#3) (diff)
downloaddiscoin-ec4525ccc1c1b66bc99f064348a9842e163c1324.tar.xz
discoin-ec4525ccc1c1b66bc99f064348a9842e163c1324.zip
Move orphan processing to ActivateBestChain
This further decouples "main" and "net" processing logic by moving orphan processing out of the chain-connecting cs_main lock and into its own cs_main lock, beside all of the other chain callbacks. Once further decoupling of net and main processing logic occurs, orphan handing should move to its own lock, out of cs_main. Note that this will introduce a race if there are any cases where we assume the orphan map to be consistent with the current chain tip, however I am confident there is no such case (ATMP will fail without DoS score in all such cases).
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions