Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the stat types related to the removed UDP functionalities #4142

Merged
merged 3 commits into from
Feb 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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