@@ -216,7 +216,7 @@ std::vector<std::vector<CDeterministicMNCPtr>> ComputeQuorumMembersByQuarterRota
216216 // TODO Check if it is triggered from outside (P2P, block validation). Throwing an exception is probably a wiser choice
217217 // assert (!newQuarterMembers.empty());
218218
219- if (LogAcceptCategory (BCLog::LLMQ)) {
219+ if (LogAcceptCategory (BCLog::LLMQ, BCLog::Level::Debug )) {
220220 for (const size_t i : irange::range (nQuorums)) {
221221 std::stringstream ss;
222222
@@ -249,7 +249,7 @@ std::vector<std::vector<CDeterministicMNCPtr>> ComputeQuorumMembersByQuarterRota
249249 std::move (previousQuarters.quarterHMinusC [i].begin (), previousQuarters.quarterHMinusC [i].end (), std::back_inserter (quorumMembers[i]));
250250 std::move (newQuarterMembers[i].begin (), newQuarterMembers[i].end (), std::back_inserter (quorumMembers[i]));
251251
252- if (LogAcceptCategory (BCLog::LLMQ)) {
252+ if (LogAcceptCategory (BCLog::LLMQ, BCLog::Level::Debug )) {
253253 std::stringstream ss;
254254 ss << " [" ;
255255 for (const auto &m: quorumMembers[i]) {
@@ -397,7 +397,7 @@ std::vector<std::vector<CDeterministicMNCPtr>> BuildNewQuorumQuarterMembers(cons
397397 sortedCombinedMnsList.push_back (std::move (m));
398398 }
399399
400- if (LogAcceptCategory (BCLog::LLMQ)) {
400+ if (LogAcceptCategory (BCLog::LLMQ, BCLog::Level::Debug )) {
401401 std::stringstream ss;
402402 ss << " [" ;
403403 for (const auto &m: sortedCombinedMnsList) {
@@ -517,7 +517,7 @@ std::vector<std::vector<CDeterministicMNCPtr>> GetQuorumQuarterMembersBySnapshot
517517 std::move (sortedMnsUsedAtH.begin (), sortedMnsUsedAtH.end (), std::back_inserter (sortedCombinedMns));
518518 }
519519
520- if (LogAcceptCategory (BCLog::LLMQ)) {
520+ if (LogAcceptCategory (BCLog::LLMQ, BCLog::Level::Debug )) {
521521 std::stringstream ss;
522522 ss << " [" ;
523523 for (const auto &m: sortedCombinedMns) {
@@ -788,7 +788,8 @@ bool EnsureQuorumConnections(const Consensus::LLMQParams& llmqParams, CConnman&
788788 relayMembers = connections;
789789 }
790790 if (!connections.empty ()) {
791- if (!connman.HasMasternodeQuorumNodes (llmqParams.type , pQuorumBaseBlockIndex->GetBlockHash ()) && LogAcceptCategory (BCLog::LLMQ)) {
791+ if (!connman.HasMasternodeQuorumNodes (llmqParams.type , pQuorumBaseBlockIndex->GetBlockHash ()) &&
792+ LogAcceptCategory (BCLog::LLMQ, BCLog::Level::Debug)) {
792793 std::string debugMsg = strprintf (" %s -- adding masternodes quorum connections for quorum %s:\n " , __func__, pQuorumBaseBlockIndex->GetBlockHash ().ToString ());
793794 for (const auto & c : connections) {
794795 auto dmn = tip_mn_list.GetValidMN (c);
@@ -835,7 +836,7 @@ void AddQuorumProbeConnections(const Consensus::LLMQParams& llmqParams, CConnman
835836 }
836837
837838 if (!probeConnections.empty ()) {
838- if (LogAcceptCategory (BCLog::LLMQ)) {
839+ if (LogAcceptCategory (BCLog::LLMQ, BCLog::Level::Debug )) {
839840 std::string debugMsg = strprintf (" %s -- adding masternodes probes for quorum %s:\n " , __func__, pQuorumBaseBlockIndex->GetBlockHash ().ToString ());
840841 for (const auto & c : probeConnections) {
841842 auto dmn = tip_mn_list.GetValidMN (c);
0 commit comments