@@ -14,17 +14,17 @@ var failedConflictCount uint64
varaverageRoundsToFinalizefloat64
varavLocksyncutils.RWMutex
// QueryReceivedCount is the number of queries received (each query can contain multiple conflicts to give an opinion about)
varQueryReceivedCountuint64
// queryReceivedCount is the number of queries received (each query can contain multiple conflicts to give an opinion about)
varqueryReceivedCountuint64
// OpinionQueryReceivedCount is the number of opinion queries received (multiple in one query)
varOpinionQueryReceivedCountuint64
// opinionQueryReceivedCount is the number of opinion queries received (multiple in one query)
varopinionQueryReceivedCountuint64
// QueryReplyErrorCount counts how many times we haven't received an answer for our query. (each query reply can contain multiple conflicts to get an opinion about)
varQueryReplyErrorCountuint64
// queryReplyErrorCount counts how many times we haven't received an answer for our query. (each query reply can contain multiple conflicts to get an opinion about)
varqueryReplyErrorCountuint64
// OpinionQueryReplyErrorCount counts how many opinions we asked for but never heard back (multiple opinions in one query)
varOpinionQueryReplyErrorCountuint64
// opinionQueryReplyErrorCount counts how many opinions we asked for but never heard back (multiple opinions in one query)
varopinionQueryReplyErrorCountuint64
// ActiveConflicts returns the number of currently active conflicts.
// FPCQueryReplyErrors returns the number of sent but unanswered queries for conflict opinions. For an exact number of failed opinions, use FPCOpinionQueryReplyErrors().
funcFPCQueryReplyErrors()uint64{
returnatomic.LoadUint64(&QueryReplyErrorCount)
returnatomic.LoadUint64(&queryReplyErrorCount)
}
// FPCOpinionQueryReplyErrors returns the number of opinions that the node failed to gather from peers.