Skip to content

Optimize fetching of blockchain data and update package-lock for node LTS#17

Open
zquestz wants to merge 5 commits intocoinbase:masterfrom
zquestz:master
Open

Optimize fetching of blockchain data and update package-lock for node LTS#17
zquestz wants to merge 5 commits intocoinbase:masterfrom
zquestz:master

Conversation

@zquestz
Copy link
Copy Markdown
Contributor

@zquestz zquestz commented May 14, 2022

This PR cleans up quite a few things.

  1. Update package-lock to work with latest Node LTS (v16).
  2. Optimizes fetching of blocks/addresses/transactions so they are only fetched once. SearchBCHD() was called multiple times in the old code path.
  3. Adds debug method which can be used to log to console.
  4. Ran main BCHDExplorer.vue through a JS formatter.
  5. Updated polling interval for basic blockchain info to 60 seconds (from 5 seconds).
  6. Simplifies testnet detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant