Add pool identifier configuration and improve script size handling (#60)

* fixed a couple tests because of imports, missing newline chars and missing constructor parameters

* Add pool identifier configuration and improve script size handling
This commit is contained in:
Stijn
2024-08-30 08:57:43 -04:00
committed by GitHub
parent 7bb436bf1f
commit 8ce057b3b5
5 changed files with 209 additions and 6 deletions
+2 -1
View File
@@ -53,7 +53,7 @@ export class StratumV1Client {
public hashRate: number = 0;
private buffer: string = '';
constructor(
public readonly socket: Socket,
private readonly stratumV1JobsService: StratumV1JobsService,
@@ -418,6 +418,7 @@ export class StratumV1Client {
}
const job = new MiningJob(
this.configService,
network,
this.stratumV1JobsService.getNextId(),
payoutInformation,