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

gabridome picture gabridome  路  3Comments

kenny47 picture kenny47  路  3Comments

nopara73 picture nopara73  路  3Comments

Herajda picture Herajda  路  3Comments

2pac1 picture 2pac1  路  3Comments