Skip to content

Commit

Permalink
Remove the stat types related to the removed UDP functionalities (#4142)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
thsfs committed Feb 18, 2023
1 parent 2ccba41 commit f189f66
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions nano/lib/stats_enums.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace nano::stat
/** Primary statistics type */
enum class type : uint8_t
{
traffic_udp,
traffic_tcp,
error,
message,
Expand All @@ -23,7 +22,6 @@ enum class type : uint8_t
peering,
ipc,
tcp,
udp,
confirmation_height,
confirmation_observer,
drop,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit f189f66

Please sign in to comment.