Minor fixes to difficulty adjustment api.

This commit is contained in:
softsimon 2021-07-19 00:50:09 +03:00
parent 9e0a5300b0
commit 853e2fcb8f
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 1 additions and 2 deletions

View File

@ -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)
;
}
}

View File

@ -1139,7 +1139,6 @@ responseSample: `{
estimatedRetargetDate: 1627400849.2000492,
remainingBlocks: 1642,
remainingTime: 997456.3840492539
}`,
},