Merge branch 'master' into simon/ignore-existing-mining-pools
This commit is contained in:
		
						commit
						e41ce16bbb
					
				| @ -26,7 +26,6 @@ export class ClockFaceComponent implements OnInit, OnChanges, OnDestroy { | |||||||
| 
 | 
 | ||||||
|   constructor( |   constructor( | ||||||
|     public stateService: StateService, |     public stateService: StateService, | ||||||
|     private websocketService: WebsocketService, |  | ||||||
|     private cd: ChangeDetectorRef |     private cd: ChangeDetectorRef | ||||||
|   ) { |   ) { | ||||||
|     this.updateTime(); |     this.updateTime(); | ||||||
|  | |||||||
| @ -40,7 +40,7 @@ | |||||||
|     </div> |     </div> | ||||||
|     <div class="stats top right"> |     <div class="stats top right"> | ||||||
|       <p class="label" i18n="clock.priority-rate|priority fee rate">priority rate</p> |       <p class="label" i18n="clock.priority-rate|priority fee rate">priority rate</p> | ||||||
|       <p *ngIf="recommendedFees$ | async as recommendedFees;" i18n="shared.sat-vbyte|sat/vB">{{ recommendedFees.fastestFee + 300 }} sat/vB</p> |       <p *ngIf="recommendedFees$ | async as recommendedFees;" i18n="shared.sat-vbyte|sat/vB">{{ recommendedFees.fastestFee }} sat/vB</p> | ||||||
|     </div> |     </div> | ||||||
|     <div *ngIf="mode !== 'mempool' && block" class="stats bottom left"> |     <div *ngIf="mode !== 'mempool' && block" class="stats bottom left"> | ||||||
|       <p [innerHTML]="block.size | bytes: 2"></p> |       <p [innerHTML]="block.size | bytes: 2"></p> | ||||||
|  | |||||||
| @ -52,7 +52,7 @@ export class ClockComponent implements OnInit { | |||||||
| 
 | 
 | ||||||
|   ngOnInit(): void { |   ngOnInit(): void { | ||||||
|     this.resizeCanvas(); |     this.resizeCanvas(); | ||||||
|     this.websocketService.want(['blocks']); |     this.websocketService.want(['blocks', 'stats', 'mempool-blocks']); | ||||||
| 
 | 
 | ||||||
|     this.blocksSubscription = this.stateService.blocks$ |     this.blocksSubscription = this.stateService.blocks$ | ||||||
|       .subscribe(([block]) => { |       .subscribe(([block]) => { | ||||||
|  | |||||||
| @ -2,8 +2,8 @@ | |||||||
|     <div class="container-fluid"> |     <div class="container-fluid"> | ||||||
|     <div class="row main"> |     <div class="row main"> | ||||||
|       <div class="offset-lg-1 col-lg-4 col align-self-center branding"> |       <div class="offset-lg-1 col-lg-4 col align-self-center branding"> | ||||||
|         <h5 i18n="about.about-the-project">The Mempool Open Source Project</h5> |         <h5><ng-container i18n="about.about-the-project">The Mempool Open Source Project</ng-container><ng-template [ngIf]="locale.substr(0, 2) === 'en'"> ™</ng-template></h5> | ||||||
|         <p i18="@@7deec1c1520f06170e1f8e8ddfbe4532312f638f">Explore the full Bitcoin ecosystem</p> |         <p><ng-container i18n="@@7deec1c1520f06170e1f8e8ddfbe4532312f638f">Explore the full Bitcoin ecosystem</ng-container><ng-template [ngIf]="locale.substr(0, 2) === 'en'"> ™</ng-template></p> | ||||||
|         <div class="selector"> |         <div class="selector"> | ||||||
|           <app-language-selector></app-language-selector> |           <app-language-selector></app-language-selector> | ||||||
|         </div> |         </div> | ||||||
| @ -16,7 +16,7 @@ | |||||||
|         </ng-template> |         </ng-template> | ||||||
|         <p class="cta-secondary"><a [routerLink]="['/tx/push' | relativeUrl]" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</a></p> |         <p class="cta-secondary"><a [routerLink]="['/tx/push' | relativeUrl]" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</a></p> | ||||||
|         <p *ngIf="officialMempoolSpace && env.LIGHTNING" class="cta-secondary"><a [routerLink]="['/lightning/group/the-mempool-open-source-project' | relativeUrl]" i18n="footer.connect-to-our-nodes">Connect to our Nodes</a></p> |         <p *ngIf="officialMempoolSpace && env.LIGHTNING" class="cta-secondary"><a [routerLink]="['/lightning/group/the-mempool-open-source-project' | relativeUrl]" i18n="footer.connect-to-our-nodes">Connect to our Nodes</a></p> | ||||||
|         <p><a [routerLink]="['/about' | relativeUrl]">About the Project</a></p> |         <p><a [routerLink]="['/about' | relativeUrl]">About The Mempool Open Source Project™</a></p> | ||||||
|       </div> |       </div> | ||||||
|       <div class="col-lg-6 col-md-10 offset-md-1 links outer"> |       <div class="col-lg-6 col-md-10 offset-md-1 links outer"> | ||||||
|         <div class="row"> |         <div class="row"> | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; | import { ChangeDetectionStrategy, Component, OnInit, Inject, LOCALE_ID } from '@angular/core'; | ||||||
| import { Observable, merge, of, Subject } from 'rxjs'; | import { Observable, merge, of, Subject } from 'rxjs'; | ||||||
| import { tap, takeUntil } from 'rxjs/operators'; | import { tap, takeUntil } from 'rxjs/operators'; | ||||||
| import { Env, StateService } from '../../../services/state.service'; | import { Env, StateService } from '../../../services/state.service'; | ||||||
| @ -28,6 +28,7 @@ export class GlobalFooterComponent implements OnInit { | |||||||
|     public stateService: StateService, |     public stateService: StateService, | ||||||
|     private languageService: LanguageService, |     private languageService: LanguageService, | ||||||
|     private navigationService: NavigationService, |     private navigationService: NavigationService, | ||||||
|  |     @Inject(LOCALE_ID) public locale: string, | ||||||
|   ) {} |   ) {} | ||||||
| 
 | 
 | ||||||
|   ngOnInit(): void { |   ngOnInit(): void { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user