add blockchain bar to stratum page
This commit is contained in:
		
							parent
							
								
									3ea491ad13
								
							
						
					
					
						commit
						cb4bf0611e
					
				| @ -45,6 +45,7 @@ export class StratumList implements OnInit, OnDestroy { | ||||
|   ) {} | ||||
| 
 | ||||
|   ngOnInit(): void { | ||||
|     this.websocketService.want(['stats', 'blocks', 'mempool-blocks']); | ||||
|     this.miningService.getPools().subscribe(pools => { | ||||
|       this.pools = {}; | ||||
|       for (const pool of pools) { | ||||
|  | ||||
| @ -57,10 +57,16 @@ const routes: Routes = [ | ||||
|         path: 'rbf', | ||||
|         component: RbfList, | ||||
|       }, | ||||
|       { | ||||
|       ...(browserWindowEnv.STRATUM_ENABLED ? [{ | ||||
|         path: 'stratum', | ||||
|         component: StratumList, | ||||
|       }, | ||||
|         component: StartComponent, | ||||
|         children: [ | ||||
|           { | ||||
|             path: '', | ||||
|             component: StratumList, | ||||
|           } | ||||
|         ] | ||||
|       }] : []), | ||||
|       { | ||||
|         path: 'terms-of-service', | ||||
|         loadChildren: () => import('@components/terms-of-service/terms-of-service.module').then(m => m.TermsOfServiceModule), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user