Skip to content

Tweak script for performance#4125

Open
kajoseph wants to merge 2 commits intobitpay:masterfrom
kajoseph:fixEvmTxToFromAddressesCase
Open

Tweak script for performance#4125
kajoseph wants to merge 2 commits intobitpay:masterfrom
kajoseph:fixEvmTxToFromAddressesCase

Conversation

@kajoseph
Copy link
Collaborator

Description

The previous version of the script choked on the queries. Even though they were hitting indexes, they are large indexes and the queries needed to be narrowed in scope.

Changelog

  • Refactor the script to work block by block instead of streaming and scanning the entire block space.

Testing Notes

Should still work like before.


Checklist

  • I have read CONTRIBUTING.md and verified that this PR follows the guidelines and requirements outlined in it.

@kajoseph kajoseph added the BCN This pull request modifies the bitcore-node package label Mar 16, 2026
@kajoseph kajoseph requested a review from leolambo March 16, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCN This pull request modifies the bitcore-node package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants