Remix.run Logo
▲ nullc 7 hours ago

under your model binance can thwart that attack by splitting their funds into 20 or more keys at a cost to them of a few cents... :P

(I believe their wallet is already spread across many keys, but I can't be bothered to go looking to find out)

A couple times in the past I tried to get wallets to auto split change when it was over some large threshold like 50 BTC. It improves coin selection efficiency to have more choices, and there is hardly much concern with output set bloat with a threshold that high. Sadly I wasn't successful on that one. :P

Terminology nit: A bitcoin wallet is a bag of keys, ideally each key gets used once (though often people reuse them). In any case, your target domain is per key, not per wallet. The bagness of a wallet is mostly not visible to users, so wallet software could transparently break up coins across many keys without a usability change. If the threshold is reasonably high (e.g. tens of bitcoin), the increase in transaction costs would be utterly insignificant.

That's a low cost mitigation that could be taken now for very large outputs-- though it's only helpful if there are not significant batching gains or a low marginal cost per additional key in the attack. (It's also not a meaningful help at smaller amounts, because if the attack can economically reach too low systematic vulnerability will dominate and it won't matter so much that you secured yours).