From f189f66152407a402a27aefb0ed2471db241abd8 Mon Sep 17 00:00:00 2001 From: Thiago Silva <82097354+thsfs@users.noreply.github.com> Date: Sat, 18 Feb 2023 17:13:59 -0300 Subject: [PATCH] Remove the stat types related to the removed UDP functionalities (#4142) * Remove UDP exclusive stats * Update the stat type comment from 'udp' to 'received messages' * Remove stats used only by the removed message_buffer_manager class --- nano/lib/stats_enums.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nano/lib/stats_enums.hpp b/nano/lib/stats_enums.hpp index 0220834a..bea21b62 100644 --- a/nano/lib/stats_enums.hpp +++ b/nano/lib/stats_enums.hpp @@ -8,7 +8,6 @@ namespace nano::stat /** Primary statistics type */ enum class type : uint8_t { - traffic_udp, traffic_tcp, error, message, @@ -23,7 +22,6 @@ enum class type : uint8_t peering, ipc, tcp, - udp, confirmation_height, confirmation_observer, drop, @@ -161,9 +159,7 @@ enum class detail : uint8_t generate_vote_normal, generate_vote_final, - // udp - blocking, - overflow, + // received messages invalid_header, invalid_message_type, invalid_keepalive_message, @@ -180,8 +176,6 @@ enum class detail : uint8_t invalid_asc_pull_ack_message, message_too_big, outdated_version, - udp_max_per_ip, - udp_max_per_subnetwork, // tcp tcp_accept_success,