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 Stonewall(x2) when spending to non bech32 address #1177

Open
checkuon opened this issue Nov 25, 2023 · 2 comments
Open

Allow Stonewall(x2) when spending to non bech32 address #1177

checkuon opened this issue Nov 25, 2023 · 2 comments

Comments

@checkuon
Copy link

This is possible with Samourai, and while the true spend is indeed easily identifiable there are still benefits to making a Stonewall(x2) spend here:

  1. the common input ownership heuristic is still broken
  2. the non-decoy change outputs still can still be send to 2 different people, impossible to tell
@craigraw
Copy link
Collaborator

The way Sparrow presents StonewallX2 though is an upgrade path from Stonewall. The UX of disallowing a Stonewall but allowing a StonewallX2 feels like it may be confusing.

the non-decoy change outputs still can still be send to 2 different people, impossible to tell

They are always sent to 2 different people in a StonewallX2? Not sure I follow.

@checkuon
Copy link
Author

checkuon commented Dec 24, 2023

Apologies I was not clear in my explanation. I meant allow both stonewall and stonewallx2 transactions when spending to a non bech32 address.

Despite the decoy change output being obvious when not sending to a bech32 address, there is still a privacy benefit allow stonewall and stonewallx2 since an observer does not know if it is a 2 person coinjoin or a fake 2 person coinjoin, therefore:

  1. The inputs might be from 2 different people. The common input ownership heuristic is broken.
  2. The non decoy change outputs might go to 2 different people.

EDIT: Since Sparrow does not have like-type change output functionality (for obvious UX and UI reasons) like Samourai does, some users who have the same wallet loaded in both Samourai and Sparrow disable that option in Samourai so that their wallet balance is exactly the same in both wallets.
Samourai Wallet allows for stonewall and stonewallx2 spends to non bech32 addresses, even if the like-type change output option is disabled.
I prefer spending from Sparrow, but if I'm paying to a non bech32 address I'm forced to use Samourai now if I want to do a stonewall or stonewallx2 spend.

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