janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.58k stars 1.18k forks source link

mempool block and time estimation above current max mempool rate #416

Open blackdimund opened 2 years ago

blackdimund commented 2 years ago

Describe the bug

on the /mempool-summary webui page, the sat/byte are currently (this exact moment) only 1 or 2 sat/byte. when you click on the estimated block depth of 1 or 2 sat/byte, it shows the estimated block depth of ~1 and est confirm time ~10min. You can even click on the other sat/byte and it shows the same estimations. So far this is all working correctly. However, if you refresh the page, and try starting off with a sat/byte that is not currently in the mempool, the estimations show nothing. It might be nice to just have the highest possible sat/byte in the mempool and use that data for any sat/byte value that is higher that the user tries to give.

Environment (please complete the following information):

Configuration file content

Please include the content from the following files. BE SURE TO MODIFY YOUR CREDENTIALS BEFORE SUBMITTING!!!

To Reproduce

Steps to reproduce the behavior: 1 - https://bitcoinexplorer.org/mempool-summary 2 - click on fee rate higher than current max fee rate

Screenshots or Log Output btcrpcbug