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

SIGHASH_ANYONE hack for efficient many-input transactions (Bitcoin #6482 inspired.) #2415

Closed
nathan-at-least opened this issue May 31, 2017 · 2 comments
Labels
A-wallet Area: Wallet I-performance Problems and improvements with respect to performance usability use case

Comments

@nathan-at-least
Copy link
Contributor

Motivation: Many real users want to merge many UTXOs. The current method of doing this using many SIGHASH_ALL signed inputs has a quadratic scaling cost to verification, which makes block time validation expensive, and causes a worse problem for GetBlockTemplate calls which process the entire mempool. One improvement to this situation may be to give users a tool to create cheaper-to-verify transactions. (This doesn't help against malicious users.)

Proposed Solution: A variation of bitcoin/bitcoin#6482 in which @gavinandresen proposes a hack to create many-input transactions which are efficient to verify. The hack introduces some subtle security-vulnerability edge cases which must be addressed if we were to adopt this approach.

@daira
Copy link
Contributor

daira commented Jul 10, 2017

@nathan-at-least Bitcoin have closed their PR, and I'm not sure it works anyway. Should we close this ticket?

@ioptio
Copy link
Contributor

ioptio commented Aug 14, 2017

ping @nathan-at-least see Daira's question above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-wallet Area: Wallet I-performance Problems and improvements with respect to performance usability use case
Projects
None yet
Development

No branches or pull requests

3 participants