Save block predictions results in db and show results in a chart

This commit is contained in:
nymkappa committed 2022-07-06 22:27:45 +02:00
1 parent ec2d079da4
commit d2ab72390f
21 files changed
+576 -224

No files matched your search

@@ -71,7 +71,7 @@ export class HashrateChartComponent implements OnInit {
this.miningWindowPreference = '1y';
} else {
this.seoService.setTitle($localize`:@@3510fc6daa1d975f331e3a717bdf1a34efa06dff:Hashrate & Difficulty`);
this.miningWindowPreference = this.miningService.getDefaultTimespan('1m');
this.miningWindowPreference = this.miningService.getDefaultTimespan('3m');
}
this.radioGroupForm = this.formBuilder.group({ dateSpan: this.miningWindowPreference });
this.radioGroupForm.controls.dateSpan.setValue(this.miningWindowPreference);