mirror of https://github.com/waku-org/js-waku.git
chore: add peer id log
This commit is contained in:
parent
0906125834
commit
a25b16cb54
|
@ -76,6 +76,13 @@ export class WakuNode implements Waku {
|
||||||
this.relay = libp2p.pubsub;
|
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.pingKeepAliveTimers = {};
|
||||||
this.relayKeepAliveTimers = {};
|
this.relayKeepAliveTimers = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue