From 4c4654c89d6c6add002a6a94ddc3da7898465a22 Mon Sep 17 00:00:00 2001 From: dr-frmr Date: Mon, 15 Jul 2024 02:39:48 +0200 Subject: [PATCH] prints --- kinode/src/main.rs | 2 ++ kinode/src/register.rs | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/kinode/src/main.rs b/kinode/src/main.rs index c4a1b0e8..bacd09cd 100644 --- a/kinode/src/main.rs +++ b/kinode/src/main.rs @@ -224,6 +224,8 @@ async fn main() { } }; + println!("our: {:?}\r", our); + // the boolean flag determines whether the runtime module is *public* or not, // where public means that any process can always message it. #[allow(unused_mut)] diff --git a/kinode/src/register.rs b/kinode/src/register.rs index 21cb42b0..12964bf0 100644 --- a/kinode/src/register.rs +++ b/kinode/src/register.rs @@ -757,6 +757,11 @@ pub async fn assign_routing( ip & 0xFF ); + println!("routers: {:?}\r", routers); + println!("node_ip: {:?}\r", node_ip); + println!("ws: {:?}\r", ws); + println!("tcp: {:?}\r", tcp); + if !routers.is_empty() { // indirect node return Ok(());