From cea1ce1eb70567afd9ffd9d7354516a2676f8a71 Mon Sep 17 00:00:00 2001 From: Hanno Cornelius Date: Fri, 9 Feb 2024 15:32:26 +0000 Subject: [PATCH 1/2] update libp2p submodule --- vendor/nim-libp2p | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index e3c967ad19..e0f70b7177 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit e3c967ad1939fb33b8e13759037d193734acd202 +Subproject commit e0f70b71778bf9613421261b22a56499c913f806 From 422a43e26a31aa228793a5a5ab4f1547652ba927 Mon Sep 17 00:00:00 2001 From: Hanno Cornelius Date: Fri, 9 Feb 2024 15:59:35 +0000 Subject: [PATCH 2/2] feat: prefer yamux to mplex --- waku/node/waku_switch.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/node/waku_switch.nim b/waku/node/waku_switch.nim index add29b16b1..56b984a2ec 100644 --- a/waku/node/waku_switch.nim +++ b/waku/node/waku_switch.nim @@ -90,8 +90,8 @@ proc newWakuSwitch*( .withMaxIn(maxIn) .withMaxOut(maxOut) .withMaxConnsPerPeer(maxConnsPerPeer) - .withMplex(inTimeout, outTimeout) .withYamux() + .withMplex(inTimeout, outTimeout) .withNoise() .withTcpTransport(transportFlags) .withNameResolver(nameResolver)