Merge pull request #956 from waku-org/log-peer-id

This commit is contained in:
fryorcraken.eth 2022-09-13 20:39:56 +10:00 committed by GitHub
commit d83b2b7419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

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