Add live mempool blocks to faq (h/t @softsimon)
This commit is contained in:
		
							parent
							
								
									88c50f7107
								
							
						
					
					
						commit
						e50b58b8aa
					
				| @ -4433,7 +4433,7 @@ export const faqData = [ | |||||||
|     showConditions: bitcoinNetworks, |     showConditions: bitcoinNetworks, | ||||||
|     fragment: "what-is-a-mempool-explorer", |     fragment: "what-is-a-mempool-explorer", | ||||||
|     title: "What is a mempool explorer?", |     title: "What is a mempool explorer?", | ||||||
|     answer: "<p>A mempool explorer is a tool that enables you to view real-time and historical information about a node's mempool, visualize its transactions, and search and view those transactions.</p><p>The mempool.space website invented the concept of visualizing a Bitcoin node's mempool as <b>projected blocks</b>. These blocks are the inspiration for our half-filled block logo.</p><p>Here's a snapshot of this visualization (which you can find on <a href='/'>the main dashboard</a>) as of block 729,556 in March 2022. Projected blocks are on the left of the dotted white line, and confirmed blocks are on the right.</p><iframe id='mempool-blocks' style='width: 100%;height: 275px;border: none' src='./resources/mempool-blocks.html' scrolling='no'></iframe>" |     answer: "<p>A mempool explorer is a tool that enables you to view real-time and historical information about a node's mempool, visualize its transactions, and search and view those transactions.</p><p>The mempool.space website invented the concept of visualizing a Bitcoin node's mempool as <b>projected blocks</b>. These blocks are the inspiration for our half-filled block logo.</p><p>Projected blocks are on the left of the dotted white line, and confirmed blocks are on the right.</p>" | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     type: "endpoint", |     type: "endpoint", | ||||||
|  | |||||||
| @ -15,6 +15,9 @@ | |||||||
|             <a id="{{ item.fragment + '-tab-header' }}" class="section-header" (click)="anchorLinkClick( $event )" [routerLink]="['./']" fragment="{{ item.fragment }}"><table><tr><td>{{ item.title }}</td><td><span>{{ item.category }}</span></td></tr></table></a> |             <a id="{{ item.fragment + '-tab-header' }}" class="section-header" (click)="anchorLinkClick( $event )" [routerLink]="['./']" fragment="{{ item.fragment }}"><table><tr><td>{{ item.title }}</td><td><span>{{ item.category }}</span></td></tr></table></a> | ||||||
|             <div class="endpoint-content"> |             <div class="endpoint-content"> | ||||||
|               <div class="endpoint" [innerHTML]="item.answer | noSanitize"></div> |               <div class="endpoint" [innerHTML]="item.answer | noSanitize"></div> | ||||||
|  |               <div class="blockchain-wrapper" *ngIf="item.fragment === 'what-is-a-mempool-explorer'"> | ||||||
|  |                 <app-blockchain></app-blockchain> | ||||||
|  |               </div> | ||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -187,6 +187,16 @@ h3 { | |||||||
|   border-radius: 0.5rem 0.5rem 0 0; |   border-radius: 0.5rem 0.5rem 0 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .blockchain-wrapper { | ||||||
|  |   position: relative; | ||||||
|  |   width: 100%; | ||||||
|  |   overflow: auto; | ||||||
|  |   scrollbar-width: none; | ||||||
|  | } | ||||||
|  | .blockchain-wrapper::-webkit-scrollbar { | ||||||
|  |   display: none; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| @media (max-width: 992px) { | @media (max-width: 992px) { | ||||||
| 
 | 
 | ||||||
|   .hide-on-mobile { |   .hide-on-mobile { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user