Whirlpool issueshttps://code.samourai.io/whirlpool/Whirlpool/-/issues2022-10-19T06:36:17Zhttps://code.samourai.io/whirlpool/Whirlpool/-/issues/1Proporsal for speed & privacy increasement2022-10-19T06:36:17Z+rapidlab309samourai@rapidlab309.meProporsal for speed & privacy increasementThe most common criticism about Whirlpool is about it's speed (for remixing) and privacy (small CJ of 5 to 5 TXs). I hope my naive idea would be beneficial with both and improve Whirlpool protocol for the best, for all of us.
At the mom...The most common criticism about Whirlpool is about it's speed (for remixing) and privacy (small CJ of 5 to 5 TXs). I hope my naive idea would be beneficial with both and improve Whirlpool protocol for the best, for all of us.
At the moment, users are able to choose their fees for Tx0 and for rounds only in order to join a perfect coinjoin of 5 to 5, with the need of having at least another new user who joins the current pool size. By adding the option for users to choose which set size of coinjoin to be constructed we might achieve faster remixes as well as bigger anonymity set.
The set size to be declared by the maximum between two new users, where additional fees for bigger set size to be added for the user who chose to increase it's size.
By this method users who seek to increase their anonymity set starting from Tx0 and willing to pay for it would be able to do so (as for now Tx0 gain anonymity set of 5 and approximately entropy of 10.54), as well as more remixing users to have their UTXOs to be added and have faster rounds.
No doubt Sparrow made Whirlpool accessible for all, but it also lead to have huge liquidity which also means much bigger UTXOs set to be randomly picked from and win a free round.
Surely some users would gain from other users choices, as for if one chose to increase set size to 6 and the other one did not; They both might be part of the same 6 to 6 Whirlpool TX. This kind of benefits also happens with the current protocol, where one user choose to set high fees and other not to - the one who didn't pay to increase TX conformation carried by the one who actually did, like in this one: dede143265edbe3c4ae8306737d8ba0417a8a6682429543b957d8799b62d2021
Mempool is mostly empty these days, fees are usually 1SAT/b and most Whirlpool users enjoy mining fees as low as 302SATs per UTXOs. Doubling the size of the set would increase it to 604SATs (as far as I understand), which is still cheap for such additional anonymity set. Maximum should be defined to maintain available liquidity.
To conclude:
1. Adding the option to increase set size and choose different types of N to N Whirlpool TX might be an improvement to both, speed & privacy.
2. Additional fees for larger CJs, in order to include more UTXOs.
3. Both, current users and new users, would benefit from this change.
4. Not hurting perfect CJs structure.
5. Maximum set size should be set, I was thinking about 10.