feat: external pool shares (#89)

* feat:external shares
---------

Co-authored-by: mrv777 <mrv777@users.noreply.github.com>
Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
This commit is contained in:
mr-vcrypto
2025-02-23 15:43:01 -05:00
committed by GitHub
co-authored by mrv777 Benjamin Wilson
parent 0201703e35
commit fda3f21b71
10 changed files with 279 additions and 32 deletions
+5 -2
View File
@@ -10,6 +10,7 @@ import { ClientService } from '../ORM/client/client.service';
import { BitcoinRpcService } from './bitcoin-rpc.service';
import { NotificationService } from './notification.service';
import { StratumV1JobsService } from './stratum-v1-jobs.service';
import { ExternalSharesService } from './external-shares.service';
@Injectable()
@@ -23,7 +24,8 @@ export class StratumV1Service implements OnModuleInit {
private readonly blocksService: BlocksService,
private readonly configService: ConfigService,
private readonly stratumV1JobsService: StratumV1JobsService,
private readonly addressSettingsService: AddressSettingsService
private readonly addressSettingsService: AddressSettingsService,
private readonly externalSharesService: ExternalSharesService
) {
}
@@ -54,7 +56,8 @@ export class StratumV1Service implements OnModuleInit {
this.notificationService,
this.blocksService,
this.configService,
this.addressSettingsService
this.addressSettingsService,
this.externalSharesService
);