Bump discv5 (#9394)

Bump `discv5` to the latest release. This removes the duplicated `hashlink` dependency and also removes `ahash`.


Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
Mac L
2026-06-12 23:36:47 +04:00
committed by GitHub
parent 539a77c531
commit 90528469db
5 changed files with 41 additions and 52 deletions

View File

@@ -35,7 +35,7 @@ pub static DISCOVERY_SESSIONS: LazyLock<Result<IntGauge>> = LazyLock::new(|| {
});
pub fn scrape_discovery_metrics() {
let metrics = discv5::metrics::Metrics::from(discv5::Discv5::raw_metrics());
let metrics = discv5::Discv5::metrics();
set_float_gauge(&DISCOVERY_REQS, metrics.unsolicited_requests_per_second);
set_gauge(&DISCOVERY_SESSIONS, metrics.active_sessions as i64);
set_gauge_vec(&DISCOVERY_BYTES, &["inbound"], metrics.bytes_recv as i64);