Minor fixes to difficulty adjustment api.
This commit is contained in:
		
							parent
							
								
									9e0a5300b0
								
							
						
					
					
						commit
						853e2fcb8f
					
				@ -153,6 +153,7 @@ class Server {
 | 
			
		||||
    this.app
 | 
			
		||||
      .get(config.MEMPOOL.API_URL_PREFIX + 'transaction-times', routes.getTransactionTimes)
 | 
			
		||||
      .get(config.MEMPOOL.API_URL_PREFIX + 'cpfp/:txId', routes.getCpfpInfo)
 | 
			
		||||
      .get(config.MEMPOOL.API_URL_PREFIX + 'difficulty-adjustment', routes.getDifficultyChange)
 | 
			
		||||
      .get(config.MEMPOOL.API_URL_PREFIX + 'fees/recommended', routes.getRecommendedFees)
 | 
			
		||||
      .get(config.MEMPOOL.API_URL_PREFIX + 'fees/mempool-blocks', routes.getMempoolBlocks)
 | 
			
		||||
      .get(config.MEMPOOL.API_URL_PREFIX + 'backend-info', routes.getBackendInfo)
 | 
			
		||||
@ -248,7 +249,6 @@ class Server {
 | 
			
		||||
        .get(config.MEMPOOL.API_URL_PREFIX + 'address/:address/txs', routes.getAddressTransactions)
 | 
			
		||||
        .get(config.MEMPOOL.API_URL_PREFIX + 'address/:address/txs/chain/:txId', routes.getAddressTransactions)
 | 
			
		||||
        .get(config.MEMPOOL.API_URL_PREFIX + 'address-prefix/:prefix', routes.getAddressPrefix)
 | 
			
		||||
        .get(config.MEMPOOL.API_URL_PREFIX + 'difficulty-adjustment', routes.getDifficultyChange)
 | 
			
		||||
      ;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@ -1139,7 +1139,6 @@ responseSample: `{
 | 
			
		||||
        estimatedRetargetDate: 1627400849.2000492,
 | 
			
		||||
        remainingBlocks: 1642,
 | 
			
		||||
        remainingTime: 997456.3840492539
 | 
			
		||||
          
 | 
			
		||||
}`,
 | 
			
		||||
    },
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user