From d791e08fac56dc34858ec8753afdba9985c36a6e Mon Sep 17 00:00:00 2001 From: benedettadavico Date: Mon, 18 May 2026 11:37:37 +0200 Subject: [PATCH] add port check to dvpn endpoint --- .../nym-node-status-api/src/http/models/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nym-node-status-api/nym-node-status-api/src/http/models/mod.rs b/nym-node-status-api/nym-node-status-api/src/http/models/mod.rs index fb3f354fa2..750f564df4 100644 --- a/nym-node-status-api/nym-node-status-api/src/http/models/mod.rs +++ b/nym-node-status-api/nym-node-status-api/src/http/models/mod.rs @@ -357,21 +357,20 @@ pub struct DVpnGateway { pub role: NodeRole, pub entry: Option, pub bridges: Option, - // The performance data here originates from the nym-api, and is effectively mixnet performance // at the time of writing this pub performance: String, - // Node performance information needed by the NymVPN UI / Explorer to show more information // about the node in a user-friendly way pub performance_v2: Option, - pub lewes_protocol_details: Option, pub family_data: Option, pub staking_data: Option, pub build_information: BinaryBuildInformationOwned, + pub ports_check: Option, + pub last_ports_check_utc: Option, } impl DVpnGateway { @@ -434,6 +433,8 @@ impl DVpnGateway { family_data: family_details, staking_data: staking_details, build_information: self_described.build_information, + ports_check: gateway.ports_check, + last_ports_check_utc: gateway.last_ports_check_utc, }) } }