feat: add peer_id in MyNodeInfo (#1821)

This commit is contained in:
Chenx Dust
2026-01-22 22:44:37 +08:00
committed by GitHub
parent cf3f9169b7
commit ffa08d1c43
4 changed files with 9 additions and 0 deletions
+1
View File
@@ -377,6 +377,7 @@ impl NetworkInstance {
.map(|s| s.parse::<url::Url>().unwrap().into())
.collect(),
vpn_portal_cfg,
peer_id: my_info.peer_id,
}),
events: launcher
.get_events()
+1
View File
@@ -99,6 +99,7 @@ message MyNodeInfo {
common.StunInfo stun_info = 5;
repeated common.Url listeners = 6;
optional string vpn_portal_cfg = 7;
uint32 peer_id = 8;
}
message NetworkInstanceRunningInfo {