Identify and display mining pool.

fixes #59
This commit is contained in:
softsimon committed 2020-05-10 00:35:21 +07:00
1 parent 7974cbbc83
commit 688a73cf75
12 files changed
+101 -6

No files matched your search

@@ -9,11 +9,13 @@ import { shareReplay } from 'rxjs/operators';
export class AssetsService {
getAssetsJson$: Observable<any>;
getAssetsMinimalJson$: Observable<any>;
getMiningPools$: Observable<any>;
constructor(
private httpClient: HttpClient,
) {
this.getAssetsJson$ = this.httpClient.get('/resources/assets.json').pipe(shareReplay());
this.getAssetsMinimalJson$ = this.httpClient.get('/resources/assets.minimal.json').pipe(shareReplay());
this.getMiningPools$ = this.httpClient.get('/resources/pools.json').pipe(shareReplay());
}
}