mirror of https://github.com/waku-org/js-waku.git
chore: add peer id log
This commit is contained in:
parent
c193ba10c5
commit
2a355df487
|
@ -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