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

Allow ticket buying wallets to set an xpub for a voting wallet instead of reusing the voting address #990

Open
jrick opened this issue Nov 10, 2017 · 2 comments

Comments

@jrick
Copy link
Member

jrick commented Nov 10, 2017

This improves privacy and security by using a different address/key for each ticket and it's corresponding vote/revocation.

If not hiding the key using P2SH in the ticket purchase, there is nothing to change on the voting wallet side as it will stay in sync with newly used addresses. On the ticket purchasing side, the child index for the xpub needs to be incremented after every ticket purchase. The simplest way to implement this would be to check the address used dcrd index to find the next child index of the xpub to use, similar to how accounts are scanned on startup.

@kLkA
Copy link
Contributor

kLkA commented May 4, 2018

Hi @jrick . Can I take this task into work?

@jrick
Copy link
Member Author

jrick commented May 7, 2018

sure

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

No branches or pull requests

2 participants