03fa115503
* Store quorumHash of first mined commitment in evoDb This allows to skip scanning for quorums below this block. * Speed up CQuorumManager::ScanQuorums This does 2 things: 1. Only call HasQuorum for blocks that are potentially a quorumBlockHash These are only blocks which are at index 0 of each DKG interval 2. Stop scanning for quorums when we get below the first block that contained a commitment. If no commitment was ever mined, we bail out immediately. * Return result instead of {} * Remove HasQuorum() call as GetQuorum already does this * Remove unnecessary "if (!qc.IsNull()))" It's already checked at the top of the loop * When necessary, remove DB_FIRST_MINED_COMMITMENT from evoDb in UndoBlock |
||
---|---|---|
.. | ||
quorums_blockprocessor.cpp | ||
quorums_blockprocessor.h | ||
quorums_chainlocks.cpp | ||
quorums_chainlocks.h | ||
quorums_commitment.cpp | ||
quorums_commitment.h | ||
quorums_debug.cpp | ||
quorums_debug.h | ||
quorums_dkgsession.cpp | ||
quorums_dkgsession.h | ||
quorums_dkgsessionhandler.cpp | ||
quorums_dkgsessionhandler.h | ||
quorums_dkgsessionmgr.cpp | ||
quorums_dkgsessionmgr.h | ||
quorums_init.cpp | ||
quorums_init.h | ||
quorums_signing_shares.cpp | ||
quorums_signing_shares.h | ||
quorums_signing.cpp | ||
quorums_signing.h | ||
quorums_utils.cpp | ||
quorums_utils.h | ||
quorums.cpp | ||
quorums.h |