Mavryk_p2p_services.Peer_metadataAll the (persistent) metadata associated to a peer.
val encoding : t Mavryk_base.TzPervasives.Data_encoding.tval empty : unit -> tval distributed_db_score : t -> floatthe aggregate score function computed from the metadata collected for a peer
val prevalidation_score : t -> floatval score : t -> floattype metadata = | Received_request of requests_kind| Sent_request of requests_kind| Failed_request of requests_kind| Scheduled_request of requests_kind| Received_response of requests_kind| Sent_response of requests_kind| Unexpected_response| Unactivated_chain| Inactive_chain| Future_block| Unadvertised of resource_kind| Sent_advertisement of advertisement| Received_advertisement of advertisement| Outdated_response| Valid_blocks| Old_heads| Cannot_download| Cannot_parse| Refused_by_prefilter| Refused_by_postfilter| Applied| Branch_delayed| Branch_refused| Refused| Duplicate| Outdatedval update_requests : t -> requests_kind -> bool -> unitval update_responses : t -> requests_kind -> bool -> unit