Skip to content

Commit

Permalink
Merge pull request #4944 from PastaPastaPasta/18/rc12
Browse files Browse the repository at this point in the history
[18.x] backport: rc12 backport and bump
  • Loading branch information
UdjinM6 committed Jul 29, 2022
2 parents b504b97 + ec4f9fd commit c1a7a59
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.69])
define(_CLIENT_VERSION_MAJOR, 18)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_RC, 11)
define(_CLIENT_VERSION_RC, 12)
define(_CLIENT_VERSION_IS_RELEASE, false)
define(_COPYRIGHT_YEAR, 2022)
define(_COPYRIGHT_HOLDERS,[The %s developers])
Expand Down
28 changes: 15 additions & 13 deletions src/llmq/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit c1a7a59

Please sign in to comment.