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
@@ -436,8 +436,8 @@ export class StratumV1Client extends EasyUnsubscribe {
submission.id,
eStratumErrorCode.LowDifficultyShare,
'Difficulty too low').response();
console.error(err);
console.log(`Header: ${header.toString('hex')}`);
// console.error(err);
// console.log(`Header: ${header.toString('hex')}`);
try {
await this.promiseSocket.write(err);
} catch (e) {