mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
remove some logging
This commit is contained in:
@@ -394,7 +394,7 @@ export class StratumV1Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
console.log(`Sent new job to ${this.clientAuthorization.worker}.${this.extraNonceAndSessionId}. (clearJobs: ${jobTemplate.blockData.clearJobs}, fee?: ${!this.noFee})`)
|
//console.log(`Sent new job to ${this.clientAuthorization.worker}.${this.extraNonceAndSessionId}. (clearJobs: ${jobTemplate.blockData.clearJobs}, fee?: ${!this.noFee})`)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -421,7 +421,7 @@ export class StratumV1Client {
|
|||||||
submission.id,
|
submission.id,
|
||||||
eStratumErrorCode.JobNotFound,
|
eStratumErrorCode.JobNotFound,
|
||||||
'Job not found').response();
|
'Job not found').response();
|
||||||
console.log(err);
|
//console.log(err);
|
||||||
const success = await this.write(err);
|
const success = await this.write(err);
|
||||||
if (!success) {
|
if (!success) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ export class StratumV1Service implements OnModuleInit {
|
|||||||
await client.destroy();
|
await client.destroy();
|
||||||
console.log(`Client disconnected, ${client.extraNonceAndSessionId}`);
|
console.log(`Client disconnected, ${client.extraNonceAndSessionId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on('error', async (error: Error) => {
|
socket.on('error', async (error: Error) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user