Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount}

This commit is contained in:
nymkappa
2022-03-22 12:34:29 +09:00
parent 6106945a45
commit 87df750f16
15 changed files with 202 additions and 110 deletions

View File

@@ -78,6 +78,7 @@ import { ShortenStringPipe } from './shared/pipes/shorten-string-pipe/shorten-st
import { GraphsComponent } from './components/graphs/graphs.component';
import { DifficultyAdjustmentsTable } from './components/difficulty-adjustments-table/difficulty-adjustments-table.components';
import { BlocksList } from './components/blocks-list/blocks-list.component';
import { RewardStatsComponent } from './components/reward-stats/reward-stats.component';
import { DataCyDirective } from './data-cy.directive';
@NgModule({
@@ -139,6 +140,7 @@ import { DataCyDirective } from './data-cy.directive';
DifficultyAdjustmentsTable,
BlocksList,
DataCyDirective,
RewardStatsComponent,
],
imports: [
BrowserModule.withServerTransition({ appId: 'serverApp' }),