diff --git a/Dockerfile.lightpushWithMix.compile b/Dockerfile.lightpushWithMix.compile index fc7e01d0d..798be2e06 100644 --- a/Dockerfile.lightpushWithMix.compile +++ b/Dockerfile.lightpushWithMix.compile @@ -43,7 +43,8 @@ EXPOSE 30303 60000 8545 RUN apk add --no-cache libgcc pcre-dev libpq-dev \ wget \ iproute2 \ - python3 + python3 \ + jq # Fix for 'Error loading shared library libpcre.so.3: No such file or directory' RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3 diff --git a/examples/lightpush_publisher_mix.nim b/examples/lightpush_publisher_mix.nim index 8eca6ad8e..491c72cb1 100644 --- a/examples/lightpush_publisher_mix.nim +++ b/examples/lightpush_publisher_mix.nim @@ -98,7 +98,8 @@ proc setupAndPublish(rng: ref HmacDrbgContext, conf: LPMixConf) {.async.} = let (destPeerAddr, destPeerId) = splitPeerIdAndAddr(conf.destPeerAddr) let (pxPeerAddr, pxPeerId) = splitPeerIdAndAddr(conf.pxAddr) - + info "dest peer address: ", destPeerAddr = destPeerAddr, destPeerId = destPeerId + info "peer exchange address: ", pxPeerAddr = pxPeerAddr, pxPeerId = pxPeerId let pxPeerInfo = RemotePeerInfo.init(destPeerId, @[MultiAddress.init(destPeerAddr).get()]) node.peerManager.addServicePeer(pxPeerInfo, WakuPeerExchangeCodec) diff --git a/vendor/mix b/vendor/mix index bb26ba75a..9ff3f4cae 160000 --- a/vendor/mix +++ b/vendor/mix @@ -1 +1 @@ -Subproject commit bb26ba75a6d479619703e29333f48a9ac9adc753 +Subproject commit 9ff3f4cae579f50c16e6c2084ac0cf39e34b440c diff --git a/waku/node/waku_node.nim b/waku/node/waku_node.nim index 6163d2fe6..740e61ec4 100644 --- a/waku/node/waku_node.nim +++ b/waku/node/waku_node.nim @@ -325,7 +325,7 @@ proc startMixNodePoolMgr*(node: WakuNode) {.async.} = await sleepAsync(1.seconds) # TODO: make interval configurable - heartbeat "Updating mix node pool", 10.minutes: + heartbeat "Updating mix node pool", 5.seconds: discard node.populateMixNodePool() proc getMixNodePoolSize*(node: WakuNode): int =