mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user