diff options
author | Matt Corallo <git@bluematt.me> | 2016-10-15 17:34:02 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-11-17 17:10:00 -0800 |
commit | ec4525ccc1c1b66bc99f064348a9842e163c1324 (patch) | |
tree | d84af25c530bb832408d3cc7cfc54a8e0c2314b4 /contrib | |
parent | 9346f8429957e356d21c665bab59fe45bcf1f74e (diff) |
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 'contrib')
0 files changed, 0 insertions, 0 deletions