chore: add peer id log

This commit is contained in:
fryorcraken.eth 2022-09-13 20:25:40 +10:00
parent 0906125834
commit a25b16cb54
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 7 additions and 0 deletions

View File

@ -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 = {};