janoside / btc-rpc-explorer

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

[QoL][ElectRS] Provide a clear error message if an address has more transactions than the configured limit #493

Closed ExperiBass closed 1 year ago

ExperiBass commented 1 year ago

Describe the new feature or enhancement Currently, if an address has more transactions than electrs index_lookup_limit, btc-rpc-explorer just dumps the error into the "Transactions" box[1]. It'd be a bit cleaner if there was a proper error message.

Additional context This seems to be the same as #190, maybe the error message changed? If so i'll open a PR, as i don't see a "failed to get confirmed status" error in electrs. yeah, can't find the old error so i'm gonna assume the message was changed. PR inbound :3

[1] 1