found blocks services and tables

This commit is contained in:
Ben Wilson
2023-07-12 22:53:26 -04:00
parent cf3f414475
commit ddc7907919
7 changed files with 115 additions and 7 deletions
+5 -2
View File
@@ -3,6 +3,7 @@ import { Server, Socket } from 'net';
import { PromiseSocket } from 'promise-socket';
import { StratumV1Client } from '../models/StratumV1Client';
import { BlocksService } from '../ORM/blocks/blocks.service';
import { ClientStatisticsService } from '../ORM/client-statistics/client-statistics.service';
import { ClientService } from '../ORM/client/client.service';
import { BitcoinRpcService } from './bitcoin-rpc.service';
@@ -19,7 +20,8 @@ export class StratumV1Service implements OnModuleInit {
private readonly blockTemplateService: BlockTemplateService,
private readonly clientService: ClientService,
private readonly clientStatisticsService: ClientStatisticsService,
private readonly notificationService: NotificationService
private readonly notificationService: NotificationService,
private readonly blocksService: BlocksService
) {
}
@@ -44,7 +46,8 @@ export class StratumV1Service implements OnModuleInit {
this.bitcoinRpcService,
this.clientService,
this.clientStatisticsService,
this.notificationService
this.notificationService,
this.blocksService
);