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

Use map to store key images to public keys to speed up block processing #4

Closed
zpalmtree opened this issue Apr 16, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@zpalmtree
Copy link
Collaborator

commented Apr 16, 2019

Basically do what was done here - turtlecoin/turtlecoin#778 - but for this repo. Would be using a Map<string, string> of key images to public spend keys.

Testing is relatively simple:

  • Send tx to wallet
  • Should be found
  • Load up wallet in another wallet - for example, import keys into zedwallet-beta
  • Send transaction from other wallet
  • Once transaction goes into blockchain, it should be discovered by the original wallet using this backend, indicating that outgoing transactions can be discovered.
  • Close, and reopen the wallet
  • Send another transaction from zedwallet-beta wallet
  • Should again be found by first wallet, indicating key image map is correctly restored upon loading from file.

Let me know if you have any issues, it should be a pretty exact copy.

@zpalmtree

This comment has been minimized.

Copy link
Collaborator Author

commented May 5, 2019

Done.

@zpalmtree zpalmtree closed this May 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.