<oembed><type>rich</type><version>1.0</version><author_name>npub1pzahhguklemv3yzw3rszdkgy56999h235a9rfx5naxp63dwd6pns7x2ld8</author_name><author_url>https://nostr.ae/npub1pzahhguklemv3yzw3rszdkgy56999h235a9rfx5naxp63dwd6pns7x2ld8</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2020-04-24&#xA;📝 Original message:Good morning ZmnSCPxj,&#xA;&#xA;The issues you point out are indeed important to note. Thank you for your&#xA;wonderful feedback!&#xA;&#xA;* There is a practical limit to the number of UTXOs you would be willing to&#xA;&gt; receive in the swap.&#xA;&gt;   * Every UTXO you receive increases the potential fee you have to pay to&#xA;&gt; spend them, meaning you would strongly dislike receiving 100 UTXOs that sum&#xA;&gt; up to 1mBTC.&#xA;&gt;&#xA;Absolutely agree. It wouldn&#39;t be particularly nice to have to manage that.&#xA;&#xA;  * Thus, a practical blockchain analyst can bound the size of the sets&#xA;&gt; involved, and the problem becomes less than NP in practice.&#xA;&gt;&#xA;Definitely, though they first have to consider all subsets of a fixed size&#xA;with values bounded above by the value of the unknown sum. So the analyst&#xA;has to search through all fixed size sets (up to the practical bound) whose&#xA;elements are less than a maximum sum. This is a number of choices that is&#xA;(in a crude estimation) exponential (in the size of the UTXO set), and&#xA;polynomial in the number UTXOs below that maximum sum value on-chain which&#xA;can be pretty big at sufficiently large value-transfers.&#xA;&#xA;* If you have a single UTXO and split it, then swap, anyone looking at the&#xA;&gt; history can conjecture that the split involved is part of a CoinSwap.&#xA;&gt;   * The split is now a hint on how the subset sums can be tried.&#xA;&gt;&#xA;You&#39;re right that anybody could conjecture that it is involved in a&#xA;CoinSwap, however in my proposed protocol the swap would like a (schnorr)&#xA;P2PKH to the chain so you&#39;d have to make that conjecture for every UTXO, so&#xA;it&#39;s not much of a hint. Especially so noting that one, both or none of the&#xA;outputs could be part of a swap.&#xA;&#xA;* If after the CoinSwap you spend the UTXOs you received in a single&#xA;&gt; transaction, then you just published the solution to the subset sum for&#xA;&gt; your adversary.&#xA;&gt;   * This ties in even further to the &#34;practical limit on the number of&#xA;&gt; UTXOs&#34;.&#xA;&gt;     * Because it is not safe to spend the UTXOs from a single CoinSwap&#xA;&gt; together, you want to have fewer, larger UTXOs for more flexibility in&#xA;&gt; spending later.&#xA;&gt;&#xA;Yes, this is definitely a weakness and some over-the-top UTXO management&#xA;techniques (e.g. try to avoid combining different UTXOs in a known set into&#xA;the same transaction by default, where possible) would be needed or like&#xA;you say fewer larger UTXOs.&#xA;&#xA;It&#39;s interesting to note one can pick some subset of recent UTXOs and add&#xA;up their output values, and select that as the amount of value transfer to&#xA;exchange in a given operation. Resulting in a bit of added obfuscation as&#xA;there are now seemingly (at least) 3 utxo sets that add up to similar or&#xA;identical values, but only two of which are really participating in the&#xA;swap.&#xA;&#xA;I believe belcher and waxwing and nopara73 have been working far longer on&#xA;&gt; privacy tech, and you should try to get in contact with them as well, they&#xA;&gt; may know of other issues (or solutions to the above problems).&#xA;&gt;&#xA;Thank you for your input and suggestions! I will reach out to them.&#xA;&#xA;-- &#xA;Germán&#xA;Mathematician&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20200424/dfd618b8/attachment.html&gt;</html></oembed>