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 */ /** Primary statistics type */
enum class type : uint8_t enum class type : uint8_t
{ {
traffic_udp,
traffic_tcp, traffic_tcp,
error, error,
message, message,
@ -23,7 +22,6 @@ enum class type : uint8_t
peering, peering,
ipc, ipc,
tcp, tcp,
udp,
confirmation_height, confirmation_height,
confirmation_observer, confirmation_observer,
drop, drop,
@ -161,9 +159,7 @@ enum class detail : uint8_t
generate_vote_normal, generate_vote_normal,
generate_vote_final, generate_vote_final,
// udp // received messages
blocking,
overflow,
invalid_header, invalid_header,
invalid_message_type, invalid_message_type,
invalid_keepalive_message, invalid_keepalive_message,
@ -180,8 +176,6 @@ enum class detail : uint8_t
invalid_asc_pull_ack_message, invalid_asc_pull_ack_message,
message_too_big, message_too_big,
outdated_version, outdated_version,
udp_max_per_ip,
udp_max_per_subnetwork,
// tcp // tcp
tcp_accept_success, tcp_accept_success,