Introduce foreigner network (#25)

* support network identity for instance

* introduce foreign network

foreign network allow a node serving as one public node. other nodes can
connect to this node to discover peers and exchange route info.
This commit is contained in:
Sijie.Sun
2024-03-06 20:59:17 +08:00
committed by GitHub
parent 9261d0d32d
commit d8d1c64df7
13 changed files with 868 additions and 57 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ impl ManualConnectorManager {
log::warn!("peer conn removed: {:?}", conn_info);
}
GlobalCtxEvent::PeerAdded => todo!(),
GlobalCtxEvent::PeerRemoved => todo!(),
GlobalCtxEvent::PeerAdded(..) => todo!(),
GlobalCtxEvent::PeerRemoved(..) => todo!(),
}
}