Waku v2: Simplify Waku Relay references (#112)

- Remove wakuRelayProto as this is initiated as part of switch PubSub
- Move WakuNode type into waku_types to avoid circular references
- Make necessary adjustments to get tests and sim to work
This commit is contained in:
Oskar Thorén
2020-08-28 17:08:28 +08:00
committed by GitHub
parent bab0e12d68
commit 705b4b32a1
5 changed files with 46 additions and 53 deletions
+1
View File
@@ -11,6 +11,7 @@ import json_rpc/[rpcclient, rpcserver]
import ../../waku/node/v2/config
import ../../waku/node/v2/wakunode2
import ../../waku/node/v2/waku_types
# Loads the config in `waku/node/v2/config.nim`
let conf = WakuNodeConf.load()