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

Refactor 'generateUTXO' method in UTXOHDWallet #87

Conversation

alejoacosta74
Copy link
Contributor

This PR includes the following changes:

  • Add a new class member to store the unspent outputs for the wallet addresses (i.e. addressOutpoints)
  • Make a RPC call to retrieve unspent output for each address
  • Populates addressOutpoints and utxoAddresses accordingly
  • The method generateUTXOs is renamed to syncUTXOs

@alejoacosta74 alejoacosta74 self-assigned this Apr 18, 2024
@alejoacosta74 alejoacosta74 linked an issue Apr 18, 2024 that may be closed by this pull request
@alejoacosta74 alejoacosta74 force-pushed the utxowallet-generateutxo branch from afe3ac0 to 9764014 Compare April 19, 2024 00:01
@rileystephens28 rileystephens28 merged commit 598d9e2 into dominant-strategies:master Apr 19, 2024
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.

[Quais] Need to compute unspent outputs in UTXOHDWallet class
2 participants