Walletwasabi: Cluster of multiple coins controlled by one address

Created on 22 Dec 2019  路  3Comments  路  Source: zkSNACKs/WalletWasabi

Let's say I have an address labeled Alice, and I receive multiple coins to that address, all those coins have the same cluster (Alice).

Now if I send one coin to Bob the cluster of other coins is still Alice which is wrong, it should change to Bob, Alice.

UI debug

Most helpful comment

This is what happens:

  • Same-scriptPubKey coins are treated as a single coin except when the user wants to spend a whole coin. I think that is okay and is by design.
  • Cluster calculation works okay, the problem is it is not updated it in the UI. After closing and reopen Wasabi we can see the cluster info is correct.

All 3 comments

Concept ACK, all address reuse coins should have the same label. However, they are already treated as being one coin the coin selection algorithm #2334 & #2338, thus if you would attempt to send one of the address reuse coins to Bob, then all of them would be consolidated in this tx, and the change has Alice, Bob.

So I think this is not an issue, because of the automatic consolidation.

Good catch! It seems the coins are not being spent together as they should. I tested it and i was able to reproduce it.

This is what happens:

  • Same-scriptPubKey coins are treated as a single coin except when the user wants to spend a whole coin. I think that is okay and is by design.
  • Cluster calculation works okay, the problem is it is not updated it in the UI. After closing and reopen Wasabi we can see the cluster info is correct.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

davterra picture davterra  路  3Comments

gabridome picture gabridome  路  3Comments

nopara73 picture nopara73  路  3Comments

trading2835 picture trading2835  路  3Comments

MaxHillebrand picture MaxHillebrand  路  3Comments