From a25b16cb549d7bda74dbb88fdfe4ac230335701c Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Tue, 13 Sep 2022 20:25:40 +1000 Subject: [PATCH] chore: add peer id log --- src/lib/waku.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/waku.ts b/src/lib/waku.ts index ecbd90a4fd..dcfb81e2ee 100644 --- a/src/lib/waku.ts +++ b/src/lib/waku.ts @@ -76,6 +76,13 @@ export class WakuNode implements Waku { this.relay = libp2p.pubsub; } + log( + "Waku node created", + this.libp2p.peerId.toString(), + `relay: ${!!this.relay}, store: ${!!this.store}, light push: ${!!this + .lightPush}, filter: ${!!this.filter}` + ); + this.pingKeepAliveTimers = {}; this.relayKeepAliveTimers = {};