dash/src/llmq
Alexander Block 588eb30b86 Fix deadlock in CSigSharesManager::SendMessages (#2757)
* Fix deadlock in CSigSharesManager::SendMessages

Locking "cs" at this location caused a (potential) deadlock due to changed
order of cs and cs_vNodes locking. This changes the method to not require
the session object anymore which removes the need for locking.

* Pass size of LLMQ instead of llmqType into CSigSharesInv::Init

This allows use of sizes which are not supported in chainparams.
2019-03-11 16:31:51 +03:00
..
quorums_blockprocessor.cpp Add in-memory cache to CQuorumBlockProcessor::HasMinedCommitment 2019-02-27 14:40:52 +01:00
quorums_blockprocessor.h Use salted hashing for keys for unordered maps/sets in LLMQ code 2019-02-27 14:41:20 +01:00
quorums_chainlocks.cpp Rename IXLOCK to ISLOCK and InstantX to InstantSend 2019-03-07 21:15:09 +01:00
quorums_chainlocks.h Rename IXLOCK to ISLOCK and InstantX to InstantSend 2019-03-07 21:15:09 +01:00
quorums_commitment.cpp Deserialize CFinalCommitmentTxPayload instead of CFinalCommitment in TxToJSON (#2510) 2018-11-29 21:51:04 +03:00
quorums_commitment.h Deserialize CFinalCommitmentTxPayload instead of CFinalCommitment in TxToJSON (#2510) 2018-11-29 21:51:04 +03:00
quorums_debug.cpp Merge pull request #2682 from PastaPastaPasta/backports-0.15-pr6 2019-02-19 13:04:49 +03:00
quorums_debug.h Separate init/destroy and start/stop steps in LLMQ flow (#2709) 2019-02-17 14:39:43 +03:00
quorums_dkgsession.cpp Optimize DKG debug message processing for performance and lower bandwidth (#2672) 2019-02-01 10:49:01 +03:00
quorums_dkgsession.h update copyright (#2648) 2019-01-29 15:53:14 +01:00
quorums_dkgsessionhandler.cpp Multiple fixes for LLMQs and BLS batch verification (#2674) 2019-02-01 12:07:21 +03:00
quorums_dkgsessionhandler.h update copyright (#2648) 2019-01-29 15:53:14 +01:00
quorums_dkgsessionmgr.cpp Separate init/destroy and start/stop steps in LLMQ flow (#2709) 2019-02-17 14:39:43 +03:00
quorums_dkgsessionmgr.h Separate init/destroy and start/stop steps in LLMQ flow (#2709) 2019-02-17 14:39:43 +03:00
quorums_init.cpp Move ChainLock signing into TrySignChainTip and call it periodically 2019-03-07 21:15:09 +01:00
quorums_init.h Separate init/destroy and start/stop steps in LLMQ flow (#2709) 2019-02-17 14:39:43 +03:00
quorums_instantsend.cpp Actually remove from finalInstantSendLocks in CInstantSendManager::RemoveFinalISLock 2019-03-07 21:15:09 +01:00
quorums_instantsend.h Rename IXLOCK to ISLOCK and InstantX to InstantSend 2019-03-07 21:15:09 +01:00
quorums_signing_shares.cpp Fix deadlock in CSigSharesManager::SendMessages (#2757) 2019-03-11 16:31:51 +03:00
quorums_signing_shares.h Fix deadlock in CSigSharesManager::SendMessages (#2757) 2019-03-11 16:31:51 +03:00
quorums_signing.cpp Let ProcessPendingReconstructedRecoveredSigs return void instead of bool 2019-03-07 21:15:09 +01:00
quorums_signing.h Let ProcessPendingReconstructedRecoveredSigs return void instead of bool 2019-03-07 21:15:09 +01:00
quorums_utils.cpp Implement new algo for quorum connections (#2710) 2019-02-19 13:05:39 +03:00
quorums_utils.h update copyright (#2648) 2019-01-29 15:53:14 +01:00
quorums.cpp Less cs_main locks in quorums (#2702) 2019-02-15 15:11:35 +01:00
quorums.h Less cs_main locks in quorums (#2702) 2019-02-15 15:11:35 +01:00