-
Notifications
You must be signed in to change notification settings - Fork 159
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
Implement Wallet #469
Implement Wallet #469
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please write some tests for all of this? The interface is a lot easier to verify this way and there is some weird specific logic that if keeping would be best to be tested
} | ||
|
||
#[derive(Default, Clone, PartialEq, Debug, Eq)] | ||
pub struct MemKeyStore { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't keys need to be persisted? Is there a plan for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just in memory storage, when the node stops and starts again, these keys are lost. There should be a way to persist the keys to be reused in some way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Saving the keys to disk doesn't look implemented yet. I'm ok with opening up another issue for that. Everything else looks good though.
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #464