Add live mempool blocks to faq (h/t @softsimon)
This commit is contained in:
		
							parent
							
								
									8d45d14335
								
							
						
					
					
						commit
						68f2782522
					
				@ -4433,7 +4433,7 @@ export const faqData = [
 | 
			
		||||
    showConditions: bitcoinNetworks,
 | 
			
		||||
    fragment: "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",
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<ng-container *ngIf="{ val: network$ | async } as network">
 | 
			
		||||
  <div class="container-xl text-left">
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
    <div id="faq" *ngIf="whichTab === 'faq'">
 | 
			
		||||
 | 
			
		||||
      <div id="doc-nav-desktop" class="hide-on-mobile" [ngClass]="desktopDocsNavPosition">
 | 
			
		||||
@ -15,12 +15,15 @@
 | 
			
		||||
            <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" [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 id="restAPI" *ngIf="whichTab === 'rest'">
 | 
			
		||||
 | 
			
		||||
@ -187,6 +187,16 @@ h3 {
 | 
			
		||||
  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) {
 | 
			
		||||
 | 
			
		||||
  .hide-on-mobile {
 | 
			
		||||
@ -239,7 +249,7 @@ h3 {
 | 
			
		||||
  h3 {
 | 
			
		||||
    display: none;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  .doc-item-container:last-of-type .endpoint-container {
 | 
			
		||||
    margin-bottom: 4rem;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user