We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c90fb commit afe2cc1Copy full SHA for afe2cc1
src/lib.rs
@@ -336,6 +336,8 @@ impl Node {
336
);
337
});
338
339
+ log_info!(listening_logger, "Listening for inbound connections on: {:?}", listener.local_addr().unwrap());
340
+
341
listening_indicator.store(true, Ordering::Release);
342
343
loop {
@@ -981,6 +983,14 @@ impl Node {
981
983
982
984
// We need to use our main runtime here as a local runtime might not be around to poll
985
// connection futures going forward.
986
987
+ log_info!(
988
+ self.logger,
989
+ "Attempt connection to peer {}@{}..",
990
+ peer_info.node_id,
991
+ peer_info.address
992
+ );
993
994
self.runtime.block_on(async move {
995
con_cm.connect_peer_if_necessary(con_node_id, con_addr).await
996
})?;
0 commit comments