From 7b14649f2df459fbc52e7b425868d943cb3a3009 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Tue, 2 Jun 2020 19:27:20 +0800 Subject: [PATCH] quicksim unique messages --- waku/node/v2/quicksim.nim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/waku/node/v2/quicksim.nim b/waku/node/v2/quicksim.nim index 17a4c6ab6..60c824816 100644 --- a/waku/node/v2/quicksim.nim +++ b/waku/node/v2/quicksim.nim @@ -1,5 +1,5 @@ import - os, strformat, chronicles, json_rpc/[rpcclient, rpcserver], nimcrypto/sysrand, + os, strutils, strformat, chronicles, json_rpc/[rpcclient, rpcserver], nimcrypto/sysrand, eth/common as eth_common, eth/keys, options #options as what # TODO: Huh? Redefinition? @@ -64,11 +64,14 @@ waitFor nodeb.connect("localhost", Port(8546)) let version = waitFor nodea.wakuVersion() info "Version is", version +# XXX: Unclear if we want nodea to subscribe to own topic or not let res1 = waitFor nodea.wakuSubscribe("foobar") let res2 = waitFor nodeb.wakuSubscribe("foobar") os.sleep(2000) +# XXX: Where is hello world tho? for i in 0..