add https and pem files (for anyone to use, fast setup)

This commit is contained in:
Ben Wilson
2023-08-03 17:16:16 -04:00
parent a7ea61f28f
commit a7b73b0610
6 changed files with 64 additions and 7 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ export class StratumV1Service implements OnModuleInit {
console.log(`Client disconnected: ${promiseSocket.socket.remoteAddress}, ${client.extraNonceAndSessionId}, ${clientCount} total clients`);
console.log(`Client disconnected, ${client.extraNonceAndSessionId}, ${clientCount} total clients`);
});
@@ -78,7 +78,7 @@ export class StratumV1Service implements OnModuleInit {
await this.clientService.delete(client.extraNonceAndSessionId);
const clientCount = await this.clientService.connectedClientCount();
console.log(`Client disconnected, socket error: ${promiseSocket.socket.remoteAddress}, ${client.extraNonceAndSessionId}, ${clientCount} total clients`);
console.log(`Client disconnected, socket error, ${client.extraNonceAndSessionId}, ${clientCount} total clients`);
console.error(error);