Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI crashes when running explorer with local reg test network #638

Open
gdsoumya opened this issue Apr 27, 2024 · 2 comments
Open

UI crashes when running explorer with local reg test network #638

gdsoumya opened this issue Apr 27, 2024 · 2 comments
Labels

Comments

@gdsoumya
Copy link

gdsoumya commented Apr 27, 2024

Describe the bug

The UI is crashing with some error regarding halving calculation when the explorer is configured to run with local regtest network.

Environment (please complete the following information):

  • Bitcoin Core / Node Version : v27.0
  • NodeJS Version : running inside docker image provided with the repo
  • Browser : brave
  • Code Version / Commit : adb8071
  • Installation Method : docker image

Configuration file content

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

  • bitcoin.conf
daemon=1
regtest=1
rpcuser=****
rpcpassword=****
rpcallowip=0.0.0.0/0
server=1
txindex=1
deprecatedrpc=create_bdb

[regtest]
rpcbind=0.0.0.0
  • .env
BTCEXP_HOST=0.0.0.0
BTCEXP_BITCOIND_URI=bitcoin://***:***@127.0.0.1:18443?timeout=10000
BTCEXP_BASIC_AUTH_PASSWORD=***

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots or Log Output

image

Additional context

Initially it was running fine but after about 24 hours when I wen back to the explorer I see this issue. I suspect that it's not able to calculate the halving for the local network as the block speed etc. isn't uniform and much quicker than normal bitcoin chain (10seonds). A quick fix would be to disable the halving calc when running local testnets, not sure if that's already available to configure in the env.

It's just the home page that's crashing other pages like block view etc. is still working fine

@gdsoumya gdsoumya added the bug label Apr 27, 2024
@KamPuc86zg
Copy link

KamPuc86zg commented May 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@gdsoumya @KamPuc86zg and others