From ea50fcb3eb8db7aada136feabc1d86e481023ee4 Mon Sep 17 00:00:00 2001 From: radiken Date: Thu, 13 Aug 2026 02:35:50 +0100 Subject: [PATCH] Shorten the listenHost comment --- nim-test-node/regression/env.nim | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nim-test-node/regression/env.nim b/nim-test-node/regression/env.nim index 25a9365..e9db4ef 100644 --- a/nim-test-node/regression/env.nim +++ b/nim-test-node/regression/env.nim @@ -26,13 +26,7 @@ let proc listenHost*(): string = - ## The interface the pod actually routes out of, not 0.0.0.0. - ## - ## Listening on 0.0.0.0 makes libp2p announce every local address, loopback first. - ## Peers then spend a dial attempt on 127.0.0.1, which reaches the dialling node - ## itself. That was free while dials were unbounded; since nim-libp2p bounds a dial - ## and shares one deadline across the whole address list, it can exhaust the budget - ## before the real address is tried. + ## The interface the pod routes out of; 0.0.0.0 would announce loopback too. try: $getPrimaryIPAddr() except CatchableError: