This commit is contained in:
Benjamin Wilson
2024-07-04 21:03:51 -04:00
parent 522ef126d9
commit 14f95a7fa4
3 changed files with 10 additions and 5 deletions
+4
View File
@@ -397,6 +397,10 @@ export class StratumV1Client {
this.noFee = false;
if (this.clientEntity) {
this.hashRate = await this.clientStatisticsService.getHashRateForSession(this.clientEntity.id);
// 250Gh/s
if(this.hashRate < 250000000000){
this.statistics.targetSubmitShareEveryNSeconds = 10;
}
this.noFee = this.hashRate != 0 && this.hashRate < 50000000000000;
}
if (this.noFee || devFeeAddress == null || devFeeAddress.length < 1) {