Remix.run Logo
▲ dualvariable a day ago

The Binance cold storage wallet holds 248,598 BTC (appx $10B even after the recent drop), and there are others worth 164,878 BTC and 157,010 BTC. There are roughly 40 addresses which hold over 23,000 BTC or about $1B at today's prices.

And my estimates are that it takes 10^-9 J to do one secp256k1 operation, and so 2^85 comes in around 10 TWh or around a billion dollars of electricity to attack a single wallet.

Those numbers are uncomfortably right in the same ballpark, and I wouldn't assume there's any margin unless someone has better napkin math than I do.

▲xorcist 9 hours ago | parent | next [-]

Surely it is that way only because Binance once deemed it safe. You cannot expect things to stay the same when there is uncertainty about how the attack cost. That is most likely already not Binance's only wallet, and they would choose to keep that balance over a thousand, or ten thousand, wallets instead. The attack cost goes up correspondingly. There is no reason to suppose that the people operating Binance are stupid or incompetent. This is probably not how Bitcoin fails.

▲nullc 7 hours ago | parent | prev [-]

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).