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
This commit is contained in:
Thiago Silva 2023-02-18 17:13:59 -03:00 committed by GitHub
commit f189f66152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,