janoside / btc-rpc-explorer

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

Difficulty history not working #644

Open jsarenik opened 6 months ago

jsarenik commented 6 months ago

Describe the bug

At https://bitcoinexplorer.org/difficulty-history the "Loading data" does not finish. Keeps hanging. For some months at least.

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. Go to 'https://bitcoinexplorer.org/difficulty-history'
  2. See "Loading data" which never finishes.

Screenshots or Log Output

image

Additional context

It works at https://be.anyone.eu.org/difficulty-history but note it is generated by a script into static JSON files on eachepoch change. Uses the same concept as the last btc-rpc-explore version it worked on but generates the one HTML and JSON data files statically only once (on a new epoch).