this.wss.on("listening", () => { this.online = true; console.log(`listening on port ${port}` + (isHTTPS ? ", using a secure connection" : "")); console.log(`miners per connection:`, this.maxMinersPerConnection); if (wssOptions.path) { console.log(`path: ${wssOptions.path}`); } if (!this.dynamicPool) { console.log(`host: ${this.host}`); console.log(`port: ${this.port}`); console.log(`pass: ${this.pass}`); } });
this.wss.on("listening", () => { this.online = true; console.log(`listening on port ${port}` + (isHTTPS ? ", using a secure connection" : "")); console.log(`miners per connection:`, this.maxMinersPerConnection); if (wssOptions.path) { console.log(`path: ${wssOptions.path}`); } if (!this.dynamicPool) { console.log(`host: ${this.host}`); console.log(`port: ${this.port}`); console.log(`pass: ${this.pass}`); } });