Merge pull request #4942 from UdjinM6/fix_cqmbqr

fix(llmq): Calculate quorum members while not debugging llmq
This commit is contained in:
Odysseas Gabrielides 2022-07-28 13:43:02 +03:00 committed by pasta
parent b504b97a81
commit 3ca5f25a38
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -161,21 +161,23 @@ std::vector<std::vector<CDeterministicMNCPtr>> CLLMQUtils::ComputeQuorumMembersB
LogPrint(BCLog::LLMQ, "QuarterComposition h[%d] i[%d]:%s\n", pCycleQuorumBaseBlockIndex->nHeight, i,
ss.str());
}
}
for (auto i = 0; i < nQuorums; ++i) {
for (auto &m: previousQuarters.quarterHMinus3C[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto &m: previousQuarters.quarterHMinus2C[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto &m: previousQuarters.quarterHMinusC[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto &m: newQuarterMembers[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto i = 0; i < nQuorums; ++i) {
for (auto &m: previousQuarters.quarterHMinus3C[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto &m: previousQuarters.quarterHMinus2C[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto &m: previousQuarters.quarterHMinusC[i]) {
quorumMembers[i].push_back(std::move(m));
}
for (auto &m: newQuarterMembers[i]) {
quorumMembers[i].push_back(std::move(m));
}
if (LogAcceptCategory(BCLog::LLMQ)) {
std::stringstream ss;
ss << " [";
for (auto &m: quorumMembers[i]) {