Skip to content

Optimize serverAssistedImport#4128

Draft
kajoseph wants to merge 1 commit intobitpay:masterfrom
kajoseph:keyImportPerformance
Draft

Optimize serverAssistedImport#4128
kajoseph wants to merge 1 commit intobitpay:masterfrom
kajoseph:keyImportPerformance

Conversation

@kajoseph
Copy link
Collaborator

Description

This PR re-works the serverAssistedImport function to better optimize the performance of scanning for wallets. Additionally, I've made the code more readable (not closure spaghetti code), and added events emitting for the client to be able to display progress to the user.

Changelog

  • Completely re-works the serverAssistedImport function for clarity and optimization.
  • Adds an endpoint to BWS that simply checks for existence without the credential authentication overhead.

Testing Notes

This is pretty well covered by tests cases. This would be a bear to functionally test locally without dropping it into an existing app/use-case to test it's backward compatibility.


Checklist

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant