diff --git a/eth/p2p/rlpx_protocols/waku_protocol.nim b/eth/p2p/rlpx_protocols/waku_protocol.nim index ea8c0b1..3f6fa26 100644 --- a/eth/p2p/rlpx_protocols/waku_protocol.nim +++ b/eth/p2p/rlpx_protocols/waku_protocol.nim @@ -47,19 +47,19 @@ export logScope: topics = "waku" -declareCounter valid_envelopes, +declarePublicCounter valid_envelopes, "Received & posted valid envelopes" -declareCounter dropped_low_pow_envelopes, +declarePublicCounter dropped_low_pow_envelopes, "Dropped envelopes because of too low PoW" -declareCounter dropped_too_large_envelopes, +declarePublicCounter dropped_too_large_envelopes, "Dropped envelopes because larger than maximum allowed size" -declareCounter dropped_bloom_filter_mismatch_envelopes, +declarePublicCounter dropped_bloom_filter_mismatch_envelopes, "Dropped envelopes because not matching with bloom filter" -declareCounter dropped_topic_mismatch_envelopes, +declarePublicCounter dropped_topic_mismatch_envelopes, "Dropped envelopes because of not matching topics" -declareCounter dropped_benign_duplicate_envelopes, +declarePublicCounter dropped_benign_duplicate_envelopes, "Dropped benign duplicate envelopes" -declareCounter dropped_malicious_duplicate_envelopes, +declarePublicCounter dropped_malicious_duplicate_envelopes, "Dropped malicious duplicate envelopes" const diff --git a/eth/p2p/rlpx_protocols/whisper_protocol.nim b/eth/p2p/rlpx_protocols/whisper_protocol.nim index 47fbaf7..22d5a25 100644 --- a/eth/p2p/rlpx_protocols/whisper_protocol.nim +++ b/eth/p2p/rlpx_protocols/whisper_protocol.nim @@ -42,17 +42,17 @@ export logScope: topics = "whisper" -declareCounter valid_envelopes, +declarePublicCounter valid_envelopes, "Received & posted valid envelopes" -declareCounter dropped_low_pow_envelopes, +declarePublicCounter dropped_low_pow_envelopes, "Dropped envelopes because of too low PoW" -declareCounter dropped_too_large_envelopes, +declarePublicCounter dropped_too_large_envelopes, "Dropped envelopes because larger than maximum allowed size" -declareCounter dropped_bloom_filter_mismatch_envelopes, +declarePublicCounter dropped_bloom_filter_mismatch_envelopes, "Dropped envelopes because not matching with bloom filter" -declareCounter dropped_benign_duplicate_envelopes, +declarePublicCounter dropped_benign_duplicate_envelopes, "Dropped benign duplicate envelopes" -declareCounter dropped_malicious_duplicate_envelopes, +declarePublicCounter dropped_malicious_duplicate_envelopes, "Dropped malicious duplicate envelopes" const