Good morning Germán,

> With regards to trying to tackle the problem of value-based correlations, 
> wouldn't it be possible to try to model the solution after the 
> equal-sum-subset problem (np complete problem)( 
> https://www.cs.mcgill.ca/~lyepre/pdf/assignment2-solutions/subsetSumNPCompleteness.pdf
>   )? 
> That is, a pair of individuals with a set of UTXOs that both add up to 
> similar if not equal value perform a swap of similar-(total)value sets. In 
> this way the values of the UTXOs can be broken up essentially at random 
> (following some nominal distribution so that it doesn't stand out; e.g. 
> https://en.wikipedia.org/wiki/Benford%27s_law), but swapped in conjunction 
> and decorrelated by using different keys + randomized locktimes.

There are a number of issues to simply modeling this to the subset-sum problem.

* There is a practical limit to the number of UTXOs you would be willing to 
receive in the swap.
  * Every UTXO you receive increases the potential fee you have to pay to spend 
them, meaning you would strongly dislike receiving 100 UTXOs that sum up to 
1mBTC.
  * Thus, a practical blockchain analyst can bound the size of the sets 
involved, and the problem becomes less than NP in practice.
* If you have a single UTXO and split it, then swap, anyone looking at the 
history can conjecture that the split involved is part of a CoinSwap.
  * The split is now a hint on how the subset sums can be tried.
* If after the CoinSwap you spend the UTXOs you received in a single 
transaction, then you just published the solution to the subset sum for your 
adversary.
  * This ties in even further to the "practical limit on the number of UTXOs".
    * Because it is not safe to spend the UTXOs from a single CoinSwap 
together, you want to have fewer, larger UTXOs for more flexibility in spending 
later.

I believe belcher and waxwing and nopara73 have been working far longer on 
privacy tech, and you should try to get in contact with them as well, they may 
know of other issues (or solutions to the above problems).

Regards,
ZmnSCPxj
_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev

Reply via email to