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

ref: default to ALL + ANYONECANPAY #67

Merged
merged 2 commits into from
May 15, 2024
Merged

ref: default to ALL + ANYONECANPAY #67

merged 2 commits into from
May 15, 2024

Conversation

coolaj86
Copy link
Member

@coolaj86 coolaj86 commented May 15, 2024

Although legacy software typically sends ALL, ALL+ANYONECANPAY is "required" for Coin Join, and more importantly, it doesn't leak unnecessary information about the transaction characteristics.

Namely, it doesn't dictate that the transaction must have been a single-wallet transaction. Since multi-wallet transactions are supported, and single wallets can sign the same way a multi-wallet process would, there doesn't seem to be any reason to leak that characteristic information.

Possible Negative Consequence: If a generous party decides to pick up your tab and pay the bills for you, and you were looking specifically at the txid rather than the addresses, you might be expecting one transaction id, but instead see another.

@coolaj86 coolaj86 force-pushed the ref-sighash-default branch from b3fb213 to 00cd0a5 Compare May 15, 2024 04:49
@coolaj86 coolaj86 merged commit 321235b into main May 15, 2024
4 checks passed
@coolaj86 coolaj86 deleted the ref-sighash-default branch May 15, 2024 04:51
@riongull
Copy link

Let's discuss this. I want to make sure I understand the decision and tradeoff here.

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.

2 participants