News for hackers. Stuff that matters.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by aazaa on Monday September 09, 2019 @01:50PM (#20920494)
I'd take issue on two points. First, "wallets' don't exist in the Bitcoin protocol. Second, the tool being used is not sophisticated enough to list the inputs and outputs, giving the false impression that something unusual is "unknown." Try this link to get details:

https://blockstream.info/tx/4410c8d14ff9f87ceeed1d65cb58e7c7...

There are numerous inputs and a single pay-to-script-hash (P2SH) output.

The relatively high fee is due in part to the large number of inputs. ~400 satoshis/byte is high by today's standard but not too unreasonable as early as 2017.

We can't tell anything about the identity of the owner(s) of the new coin from the block chain alone.

Making a transaction this large is a security risk. It effectively establishes a billion dollar bounty for any party who can rewrite enough blocks to erase it. Now that the value resides in a single coin, any subsequent transaction faces the same risk. Plunking this much value into a single coin seems like an odd strategy at best. Not to mention the destruction of privacy in combining all those inputs into a single transaction with a single output.

I can think of one reason you might want to do this. A consortium/trust has formed in which individuals pay into a common pool of money. That money is then protected with a multi signature script (consistent with the P2SH type). Given a threshold of signatures, the money can be spent, subject to other constraints. These will remain unknown until the first payment is made. At that point we'll know the number and identity of all the eligible keys and the threshold needed to make payment.

If so, this transaction can be thought of as a kind of digital charter for the consortium in that it defines how the money can be spent going forward.

Edit: to be clear, the "bounty" I'm talking about can't be directly claimed just by mining some blocks. Instead, it would have to be claimed as part of a double spend of either the transaction in question or as subsequent transaction of the now-enormous output. Most likely, there would be collusion of some kind between a miner and the owner of the keys. I'm not saying this will happen, but the bigger the transaction, the greater the risk.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by hn_throwaway_99 on Monday September 09, 2019 @02:20PM (#20920795)
> It effectively establishes a billion dollar bounty for any party who can rewrite enough blocks to erase it.

I don't really agree with that statement. Yes, someone could mount a 51% attack to rewrite that block. However, it would be pretty straightforward to see what was happening (and which nodes were the malicious actors). If that did happen, the possible outcomes would be:

1. The value of bitcoin would fall to basically 0. The reason bitcoin has any value at all really has to do with trust - belief that the protocol is secure and can't be broken. In this case, an easily detectable spending "override" would cause faith in the protocol to evaporate.

2. Note I don't believe #1 would happen. The response would be all the other miners who do have a vested interest in bitcoins success would put all their resources in ensuring the original block was maintained.

I.e. the options aren't between one address getting the billion+ dollars or another address getting a billion+ dollars. The options are one address getting a billion+ dollars or everyone's bitcoin going to 0.

Edit: Another likely possible outcome is you could get what happened to Ethereum when the DAO was hacked: a fork to Ethereum vs. Ethereum Classic. But it's still important to note Ethereum Classic is worth a teeny fraction of what Ethereum is.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by keymone on Monday September 09, 2019 @04:16PM (#20921977)
the amount of trivialization and conflation irks me

1. "51% attack" is not a thing as in "one has to have 51% of hashpower to perform it". it's just that with 51% of hashpower it becomes relatively cheap to perform such attack. one can throw enough money at the problem and get lucky to perform large reorg with just 10% of hashpower. the lower the number - the more lucky attacker has to get.

2. "rewriting a block" or "billion dollar bounty" as the GP put it are just conveying wrong ideas. there is zero chance for that $1B to get stolen even if attacker gets 100% of hashrate. all they can do is revert the transaction so that money goes back to original owners by generating a fork in the chain that doesn't include said transaction.

even that is not enough because competing miners (assuming attacker doesn't really have all 100% of hashpower) will still eventually include the transaction because it pays lucrative fees.

the trick here is that in Bitcoin parties agree to finalize the deal only after certain number of confirmations (blocks created after the one that includes the transaction). general rule is to wait for 6 confirmations.

if there indeed was some $1B deal where 94k BTC changed hands i wouldn't be surprised if their agreed upon number of confirmations was ~500 blocks (half the value of transaction in question in miner rewards), which is roughly 3 days wait.

ultimately though i'm pretty sure this was some kind of cold-storage consolidation so no BTC actually changed hands.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lacker on Monday September 09, 2019 @07:55PM (#20923816)
There is a danger of theft, and the risk is to everyone, not just the parties to this big transaction. The risk is this:

1. A malicious syndicate gathers a billion dollars of bitcoin and sends it to themselves

2. In a short period of time, like a few days, the syndicate exchanges that bitcoin for non-bitcoin assets

3. The syndicate spends tens or hundreds of millions of dollars to fork the chain, backing up the ledger, so that they own the billion dollars of bitcoin again

So anyone accepting bitcoin for non-bitcoin assets for the next week or so is at risk. It doesn’t have to be a single transaction, though; this danger occurs whenever the transaction volume on bitcoin gets above the cost of mining.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lonelappde on Monday September 09, 2019 @09:31PM (#20924347)
If someone could fundraise a billion dollars, using it to steal another billion dollars (not great ROI considering all the security risks of bitcoin ecosystem) at the expense of shattering worldwide faith in Bitcoin (which also devalues the stolen coins), seems a really bad bet. It only makes sense if it was a government or some group spending a billion (semi illiquid because Bitcoin) dollars with the goal of destroying the Bitcoin ecosystem.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by keymone on Tuesday September 10, 2019 @09:48AM (#20928113)
> so that they own the billion dollars of bitcoin again

which is now worth zero :)

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by nybble41 on Monday September 09, 2019 @06:50PM (#20923365)
> it's just that with 51% of hashpower it becomes relatively cheap to perform such attack

The qualitative difference is that with 51% of hashpower you can sustain the attack indefinitely. Other miners might get the occasional block and temporarily take the lead but in the long run you'll always have the longest chain using only blocks you've mined yourself.

With less than 50% there's a chance that you can revert a transaction temporarily by mining two consecutive blocks (one to omit the transaction and another to make your chain longer than the original) in less time than it takes the main network to reach the same block height, but the odds of maintaining the attack drop by at least half with each additional block. The main network will always win eventually.

In any case no one controls anywhere close to 51% of the hashpower right now. There are pools which approach that size but they aren't monolithic entities; if the pool operators attempted to leverage their position as coordinators to carry out a sustained attack then miners would leave the pool.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by Retric on Monday September 09, 2019 @10:54PM (#20924675)
That assumes that every other miner all mines the old chain. If you and ‘dumb’ miners that just use the longest chain add up to 51% then luck is enough.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by nybble41 on Tuesday September 10, 2019 @12:08AM (#20924965)
No, I was assuming that the other miners continue the longest chain, not the old chain. But they'll include the transaction(s) you were trying to suppress in their blocks; they're not on your side. Each time they mine a block you have to start the attack over again, and the odds are not in your favor. You control under half the hashpower and you need to stay at least one block ahead of the main network. It's not a race you can win in the long term, even assuming a certain amount of luck.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by Retric on Tuesday September 10, 2019 @06:56AM (#20926848)
If those transactions are larger than the wallets remaining funds that can’t happen. Aka wallet A moves coins to wallet B on the old chain and moves all it’s funds into wallet C in the new chain. In that case the A>B transaction is invalid on the new chain.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by nybble41 on Tuesday September 10, 2019 @12:31PM (#20930001)
That isn't quite how Bitcoin works. Transactions use specific unspent prior transaction outputs (from the "UTxO" set) as inputs; there is no concept of "remaining funds". However, you're mostly right: if the attacker controls the private keys related to the original transaction then they can insert a conflicting transaction and make the original one permanently invalid on that chain. However, an attacker who does not have the private keys to sign a conflicting transaction cannot prevent the transaction from eventually being confirmed unless they control over 50% of the hashpower.

If you're concerned that the person you're receiving funds from might be willing to attempt a double-spend then you should wait for a suitable number of confirmations before considering the funds successfully transferred. However, if they control over 50% of the hash rate then there is no suitable number of confirmations that would make the transfer safe.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by keymone on Tuesday September 10, 2019 @04:50AM (#20926257)
you're right, 51% represents a certain barrier when the attack becomes much more destructive, but it's still a spectrum. you can destroy faith in the system and value of bitcoin by performing multiple long reorgs with less than 51%.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by RichardHeart on Monday September 09, 2019 @09:28PM (#20924320)
Your math is off here. Block rewards are 12.5 BTC per 10 minutes and total fees per day are about 25-75 over last month. To get half of 94k BTC you'd be waiting quite a long time at 1,850 BTC per day total rewards + fees per day. 25 days, not 3.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by keymone on Tuesday September 10, 2019 @03:19AM (#20925828)
Thanks, you’re right.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by ur-whale on Monday September 09, 2019 @03:04PM (#20921210)
>The value of bitcoin would fall to basically 0

Yes indeed. There are a number of very interesting game-theoretic feedback loops built into bitcoin that enhance security. This is one of them.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by mochris on Monday September 09, 2019 @04:10PM (#20921923)
I disagree, because historically major cryptos have allowed known attacks to succeed if they targeted a member of the public at large, and have defended only if they targeted named insiders.

The expectation, at this point, is that defense will only occur if you are an elite insider. An unknown user may or may not be such an elite, and thus may or may not get defense.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by scottlocklin on Monday September 09, 2019 @08:52PM (#20924137)
> I disagree, because historically major cryptos have allowed known attacks to succeed if they targeted a member of the public at large, and have defended only if they targeted named insiders.

Surely you aren't going to make such a statement without examples! I can think of examples where things were attacked, including some of the largest value destructions, and insider status didn't help. For example, the multisig thing that happened to Gav Wood (the second time).

If your lone example is the Dao attack, that looked like successful governance to me.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by jefftk on Monday September 09, 2019 @11:24PM (#20924795)
> the multisig thing that happened to Gav Wood

I wasn't sure what you were referring to, but it looks like maybe https://cointelegraph.com/news/parity-multisig-wallet-hacked...

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by scottlocklin on Tuesday September 10, 2019 @12:12AM (#20924981)
Yep, that's the one.

The astounding, insane decision to use "libraries" aka delegate call in any immutable smart contract always boggled my mind. The amount of space saved is so ludicrously small as to beggar belief. Hope the 10k or whatever worth of space savings (about 20 transactions worth) was worth it.

Anyway, he didn't get a roll back, and the $200m in value that disappeared didn't either.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by tossAfterUsing on Tuesday September 10, 2019 @09:19AM (#20927795)
wonder if he got to claim that as a loss on a tax form somewhere... hmmm.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by scottlocklin on Tuesday September 10, 2019 @02:49PM (#20931833)
Well he's not a US citizen and unless he's insane, his corporations are offshored in a 0% domocile. It's really only a problem for Americans; everyone else who has their shit together can stick their corporate shell on Cayman or whatever.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by roenxi on Tuesday September 10, 2019 @12:46AM (#20925109)
> 1. The value of bitcoin would fall to basically 0. The reason bitcoin has any value at all really has to do with trust - belief that the protocol is secure and can't be broken. In this case, an easily detectable spending "override" would cause faith in the protocol to evaporate.

That seems a little out there.

(1) There is something like 1 person who uses bitcoin to move billions of dollars around. The small-time users (<$1,000,000 per transaction) wouldn't have any reason to lose trust in the system. If some company loses $1 bil in dollars, I really don't care; I don't live in a world where it affects me personally. Nobody is ever going to put serious resources into stealing from me because I'm just not that important.

(2) If they re-write the block, that doesn't mean that they've gotten away with it. Most countries have a legal system that would sit up and take notice if someone signs up for a billion dollar transaction, takes the goods and welches on paying.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by perl4ever on Tuesday September 10, 2019 @09:53PM (#20935830)
"Most countries have a legal system that would sit up and take notice if someone signs up for a billion dollar transaction, takes the goods and welches on paying"

Yes, but why bitcoin then?

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by Drdrdrq on Tuesday September 10, 2019 @03:59PM (#20932961)
First they came after those with 1b$, but I didn't stand up for them... :D
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by Stevvo on Monday September 09, 2019 @03:23PM (#20921410)
You assume the value of bitcoin is somewhat logical, the Etc 51% attack proves otherwise; in the short term holders would rather sustain the delusion.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by fucking_tragedy on Monday September 09, 2019 @04:25PM (#20922067)
This is an important perspective. Many BTC investors are unsophisticated retail investors, and are often "true believer" and magical thinking types. They're this decade's version of gold bugs.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by perl4ever on Tuesday September 10, 2019 @09:56PM (#20935855)
I think gold bugs are this decade's version of gold bugs, and heavily overlap with "unsophisticated retail investors" but not necessarily bitcoin enthusiasts.

I note that my emails from seekingalpha recently have ads saying "Vote <you-know-who> in 2020! Free Gold Victory Coin For Supporters - Claim Yours Now".

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by jkhdigital on Monday September 09, 2019 @08:08PM (#20923898)
To borrow a phrase from Walter Sobchak-- 2500 years of beautiful tradition from the Lydian Stater to the American Gold Eagle, you're goddamn right I'm a f*ing gold bug!
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by firethief on Tuesday September 10, 2019 @12:49PM (#20930246)
The Mayan civilization lasted 3000 years
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by esotericn on Monday September 09, 2019 @04:40PM (#20922247)
Well, it doesn't _prove_ it; it's just a data point.

The Bitcoin and Ethereum ecosystems are rather different.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by WMCRUN on Monday September 09, 2019 @11:19PM (#20924776)
Does the time it would take to spin up enough compute to carry out a 51% attack decrease its likelihood? I.e more blocks are being written every day, so you need to do additional work to create the alternate chain?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by askmike on Monday September 09, 2019 @11:46PM (#20924872)
Yep, but the timer potentially resets every time this money is moved.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by qroshan on Monday September 09, 2019 @04:30PM (#20922126)
So, if I were a hedge fund, I can effectively short Bitcoins and spend a piddly amount to build a datacenter to carry a 51% attack. If the attack fails, I can re-purpose my datacenter
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by servercobra on Monday September 09, 2019 @04:51PM (#20922338)
Repurpose it how? You'd need ASICs to mount a 51% attack. Using a few quickly googled numbers, you'd need ~56EH/s to double the network and mount a 51% attack. An S9 does 14TH/s, so you'd need ~4 million, at $3k each.

So around $12 billion (plus the datacenter, operations, etc). You'd pretty much send BTC to being worth $0...and then you're stuck with $12 billion in useless hardware.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lmpostor on Monday September 09, 2019 @05:04PM (#20922472)
94EH and close to 50TH for top of the line equipment.

Even if we were extremely generous would be a billion in hardware at the very least (I am assuming $500 manufacturing cost)

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by qroshan on Monday September 09, 2019 @06:36PM (#20923233)
The Market Cap of Bitcoin is $184,000,000,000

Theoretically, I can spend that much to make it's value go to $0. (yes, there are liquidity and other concerns, but you get the point)

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by arthurcolle on Monday September 09, 2019 @08:28PM (#20924012)
No, you couldn't because you'd need to borrow the entire float, which is impossible, practically and theoretically.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by aiCeivi9 on Tuesday September 10, 2019 @04:19AM (#20926119)
Can anybody explain to me why would anybody try to make their alt-coin ASIC-resistant? They claim it is do decrease centralization but like parent says it just makes 51% attack possible with cloud computing and 0 investment in hardware or logistics.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by tempay on Tuesday September 10, 2019 @05:59AM (#20926595)
The issue with ASIC mining is the the barrier to entry is extremely high so only a small number of people have the means to produce the chips. Economically it might not make sense to sell them and, to make the situation even worse, patents can prevent competitors being able to use the same innovations.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by imtringued on Tuesday September 10, 2019 @10:06AM (#20928311)
The first ASIC company can just keep the ASICs for themselves.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by qaq on Tuesday September 10, 2019 @05:25AM (#20926453)
Well aren't there BTC futures on CME?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by qroshan on Monday September 09, 2019 @06:34PM (#20923221)
If my goal is to re-purpose, I would use a General Purpose Computer

The Market Cap of Bitcoin is $184,000,000,000

I have plenty of money to play with.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by nybble41 on Monday September 09, 2019 @07:07PM (#20923492)
If your plan is to use general-purpose computers for mining then Bitcoin has nothing to worry about. You'll never manage a 51% attack that way, no when all your competition is using ASICs.

Moreover, to gain $184B by shorting Bitcoin you'd need to find someone willing to loan you $184B worth of Bitcoin, and then somehow sell all of it without crashing the price or drawing unwanted attention to your activities. Of course if the price doesn't react the way you expect you could end up paying a lot more than $184B to buy it all back to repay the loan. You shouldn't assume that even a successful (but expensive, and obviously temporary) 51% attack will drive the price down to zero.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by qroshan on Monday September 09, 2019 @08:08PM (#20923890)
It all depends on who is doing the attacking. If the attacker is a state government or someone with billions of dollars and compute to spare, ASICs aren't going to fight this losing battle. Heck, you can buy off the ASIC miners for a few million dollars (all we have to cover is their net profit, which is pretty low)
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Monday September 09, 2019 @08:49PM (#20924117)
The cost of mounting the attack with general-purpose computers would be orders of magnitude higher than the US$12B calculated above, just from the energy bill. Check out https://en.bitcoin.it/wiki/Mining_hardware_comparison; the ASIC AntMiner S9 gets 10 billion hashes per joule, while on https://en.bitcoin.it/wiki/Non-specialized_hardware_comparis... you can see that the most efficient GPUs get 2–3 million hashes per joule, 3000 to 5000 times less. So instead of spending US$12 billion on hardware and US$4 billion per year on power, you'd be spending US$12 trillion per year on power. No state has such a large budget; that's more than half of the US GDP, and about 15% of world GDP. That's more than the amount of marketed energy produced in the world.

That is, the attack you're proposing would require commandeering 15% of the world economy and more than doubling world electrical generation capacity.

Bribing or backdooring ASIC miners is a far more likely vulnerability.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lonelappde on Monday September 09, 2019 @09:35PM (#20924375)
Are ASICs totally useless for non Bitcoin computing?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Monday September 09, 2019 @10:36PM (#20924618)
Yes, that's what the “AS” stands for.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by mikekchar on Monday September 09, 2019 @11:55PM (#20924911)
To be a bit more specific, the ASIC is a computation built in hardware. It can do that computation and that computation alone. The algorithm in Bitcoin does absolutely nothing useful -- you are just hashing a random number and seeing if the result is below a certain value. Since you can't change the computation on the ASIC, it's absolutely useless for anything except mining bitcoins.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by perl4ever on Tuesday September 10, 2019 @10:00PM (#20935875)
Maybe this is dumb/naive, but I've wondered for quite a while - what if you take the latest deep learning/AI techniques and try to train a system to predict the approximate size of the hash from the input number? Has anyone seriously tried and failed?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by schoen on Wednesday September 11, 2019 @09:15AM (#20939772)
A different angle from the sibling comment's: the hash functions used here are meant to approximate pseudorandom functions, which are functions that, while deterministic, literally have no structure at all relating their inputs to their outputs in any way.

Hash functions used in the real world haven't been proven to have this property (and there are various theoretical limits on how readily they could be proven to have it, and maybe on the extent to which they could actually have it), but in order to be widely adopted, a hash function has to pass every available statistical test for approximating pseudorandomness, and also has to resist mathematical analysis aimed at finding useful structure. That means that ordinary human intelligences fail to find a practical recipe for predicting properties of the output from properties of the input.

In the same way, we would expect that deep learning systems fail to find such recipes too.

On the other hand, it's not absolutely impossible that there are some kinds of regularities that a deep learning system might discover. If so, they would be considered very serious flaws in the hash function in question. But deployed cryptographic primitives have sometimes had problems like this. The best example that I know of is the RC4 cipher

https://en.wikipedia.org/wiki/RC4#Security

where there have been a series of statistical biases (which are often forms of correlation between input and output, which should not exist if RC4 approximated pseudorandomness well). Some of these were apparently discovered experimentally by researchers with some kind of hypothesis testing tools, as opposed to based on theoretical abstract reasoning about the mathematics of RC4. This makes me think that some kinds of deep learning systems might also have been able to discover those correlations, although I'm not sure that they would have been the most efficient methods for doing so. (An interesting test might be to try to use deep learning to find new correlations in RC4 that aren't yet known -- which seems plausible since researchers have repeatedly found new ones over time.)

I think there are interesting problems about what kinds of correlations and structures deep learning systems can or can't learn efficiently, and whether those are the kinds of correlations and structures that are likely to exist as genuine flaws within deployed hash functions. I definitely don't know enough about the mathematics of deep learning to appreciate how to begin answering this question; I only know that if it turned out to be useful in some case, it would mean that the application of human intelligence and existing statistical tools to assessing hash functions' security had dramatically fallen down on the job.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Wednesday September 11, 2019 @04:49PM (#20944527)
This is correct.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by mikekchar on Wednesday September 11, 2019 @01:01AM (#20936699)
If you could do it, you'd be famous for more than BTC. It would mean that you could factor numbers in polynomial time. Long story short, calculating the hash for BTC is intended to be a non-polynomial problem. If you can find a method (any method) that will reduce the search space of the answer such that you can calculate it in polynomial time, then you have proved that NP=P (If you can find a way to solve any non-polynomial-time-hard problem in polynomial time, then it means that all NP hard problems can be solved in P time). This would completely break all current encryption.

Most people think that this is impossible, but it has not been proven yet. Unless you had some reason for believing the technique would work, it's probably not worth the effort to try.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by schoen on Wednesday September 11, 2019 @09:24AM (#20939847)
One minor correction to this (although I agree with you conceptually) is that there are no formal security proofs of the complexity class of hash function attacks for actually-existing hash functions. So there is no guarantee that the most efficient way to break a hash function security property is a generalizable attack on NP problems! It might just be that the specific hash function is weak in a previously unknown way.

A sort-of precedent for that kind of problem which I mentioned in my sibling comment is the correlation weaknesses in RC4. While they're not the most powerful possible break of RC4, by any means, they are unanticipated flaws in the structure of RC4 specifically, and they might well have been discovered by software tools that can't solve NP problems in general. It seems to me that we don't have security proofs for symmetric cryptography at all, including for block cipher security properties as well as hash function security properties, and so while your observation is totally right in general, in any specific case it might just turn out that the cryptographic primitive we were using was weak in an unanticipated way that's specific to that class of functions.

Compare https://en.wikipedia.org/wiki/Random_oracle (although reading that article reminds me of how much I don't understand about this topic)!

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Wednesday September 11, 2019 @04:43PM (#20944469)
In some ways you are correct, but you have made some errors.

As schoen pointed out, no common hash function, including the ones used in Bitcoin, has a proof of NP-completeness.

Moreover, none of those hash functions involve factoring numbers, and factoring numbers is also not known to be NP-complete, although it is also not known to be tractable in polynomial time. One reason commonly-used proof-of-work functions do not involve integer factorization is that, while integer factorization is not known to be doable in polynomial time, there are a number of algorithms that require subexponential time, so an integer-factorization-based proof-of-work witness would be much larger than an equivalent hash-function-based proof-of-work witness.

Also, it is not the case that efficient integer factorization would completely break all current encryption. Not only do no commonly-used hash functions depend on it, neither do any commonly-used symmetric ciphers (such as AES), and the currently-most-popular asymmetric cryptosystems also do not depend on the difficulty of integer factorization; instead they depend on the difficulty of the elliptic-curve discrete logarithm problem.

ECDLP is also not known to be NP-complete, but the currently-known algorithms for it are much worse than currently-known algorithms for integer factorization, so elliptic-curve cryptosystems require much smaller keys and less computation to resist the known attacks than integer-factorization-based cryptosystems.

As little as ten years ago, algorithms that could be broken by better integer factorization algorithms were relatively much more important than they are today, because elliptic-curve cryptography was much less widely used. Many vulgar accounts of the situation intended for the ignorant are not up to date.

Finally, it is not true that a proof that P=NP would "completely break all current encryption", for two reasons. First, it might not be a constructive proof — it might show that a polynomial-time algorithm for factoring integers, solving ECDLP, or computing hash preimages exists without actually telling you how to compute it. Second, even a constructive proof of P=NP might not provide an algorithm that was adequately efficient — if it takes O(n²) time to encrypt and decrypt, where n is the size of a key, but O(n⁸) time to break a message or a key, you might be adequately safe with, say, RSA-4096. But an O(n⁸) algorithm for 3-SAT would definitely be a constructive proof of P=NP.

(Shor's algorithm on a quantum computer can break RSA, because it does depend on integer factorization, in O(n³) time, if quantum computers can exist, which they probably can. This would not make it impossible to do RSA encryption securely, but it would require much larger keys than are currently used.)

However, your fundamental point is that a successful attack on Bitcoin's hashing algorithm, using artificial neural networks or anything else, would be very surprising and have major implications, because that proof-of-work scheme is designed to require exponential work, and as far as anyone knows, it does. And that fundamental point is correct, even though you have made a number of errors in your supporting points.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by celticninja on Tuesday September 10, 2019 @05:00AM (#20926306)
the "AS" in ASIC stands for Application Specific.

SO these machines are made to specifically mine bitcoin, other ASICs do other jobs, but individual units cannot transfer from one job to another and cannot be re-purposed.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Tuesday September 10, 2019 @11:09AM (#20929031)
Right, the ASIC in your DVD player that does MPEG-4 decoding is useful for something other than Bitcoin mining. But it's not useful for Bitcoin mining at all. Similarly for a motor-controller ASIC, an HDMI encoding ASIC, a GPRS radio ASIC, and so on.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by solveit on Monday September 09, 2019 @08:57PM (#20924167)
It doesn't matter if the US government is doing the attacking, they're not winning with general purpose hardware. ASICs are literally thousands of times faster with lower power consumption than GPUs. Also, any state attacker worth their shit would have the ability to develop their own ASICs so I don't know why you're hung up on using general purpose hardware.

Finally, you certainly cannot buy off the ASIC miners with a few million, not least because they own billions of dollars worth of ASICS that can't do anything but mine Bitcoin, and a successful state-orchestrated attack on Bitcoin would make all of them worthless. I don't think a state government taking down Bitcoin by its own rules is completely impossible, but you don't seem to have any grasp of the scales involved.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by nybble41 on Monday September 09, 2019 @08:58PM (#20924170)
State governments have simpler and more reliable ways to attack the system. Like armies. Buying off the miners would require at least a few hundred million dollars—you'd need to buy the hardware to pull off an attack like that, not just rent it for a while. And you still wouldn't manage to get anywhere near the full market cap by shorting Bitcoin while you do it. You'd never find anyone crazy enough to loan you that much. A small fraction, perhaps. Not enough to cover your expenses.

And in the end, after your massive investment, the community would just make some trivial change to the protocol and completely ignore the attack. Really, if this sort of thing was so easy then everyone would be doing it. You're certainly welcome to try.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lonelappde on Monday September 09, 2019 @09:37PM (#20924381)
You're ignoring diplomacy. An army is a very unsubtle attack that might have unwanted geopolitical consequences.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by celticninja on Tuesday September 10, 2019 @04:58AM (#20926299)
First of all hardware is a bottleneck, so likely the state needs to procure or manufacture their own. Which delays the start of the attack, during which time the network will continue to grow. The state cannot just magic ASIC devices from nowhere.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by henrikschroder on Monday September 09, 2019 @05:00PM (#20922429)
https://www.crypto51.app/

Bitcoin has long since passed the stage where you could 51%-attack it for piddly amounts of money.

Most other altcoins, though...

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by hn_throwaway_99 on Monday September 09, 2019 @05:17PM (#20922571)
Those numbers are pretty inaccurate, though, for cases where the NiceHash capacity is well below what is needed to mount an attack. I.e. the $768k for an hour of bitcoin attack actually vastly under estimates the cost, because to mount that attack you would need to purchase the hashing power large enough to mount that attack.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by solveit on Monday September 09, 2019 @09:00PM (#20924185)
Yes. Also, an attack would be fairly obvious and miners invested in the future of the blockchain (i.e. everyone using ASICS, which is everyone that matters) would increase their hashrate to mount a defense, increasing the cost by some hard-to-predict but significant amount.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lonelappde on Monday September 09, 2019 @09:39PM (#20924390)
How can anyone increase their hash rate? They're dependent on getting supply from ASIC manufacturers. That takes time.

Or are ASICs capital expense cheap and available and already over provisioned compared to operational costs, like dark fiber optics?

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by solveit on Monday September 09, 2019 @09:54PM (#20924462)
Kind of. ASICs aren't exactly super available, but the manufacturers are also players, so if the attack is severe enough to be an existential threat to Bitcoin, I expect Bitmain (largest ASIC manufacturer) will fire up their unsold inventory which amounted to more than a billion dollars worth as of last year.

Separate from the manufacturers, relatively easy courses of action I can see are buying hashing power from marketplaces like nicehash, and temporarily concentrating their machines on BTC and not mining BCH. This can only get you so much though since BTC hashrate dwarfs BCH hashrate.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lmpostor on Monday September 09, 2019 @05:02PM (#20922452)
Hash rate is 90+m terahash and increasing, good luck R&Ding the chips and obtaining enough to achieve. Retail pricing is around 3k per 50 TH/s, and that is just for hardware.
[dead]
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Monday September 09, 2019 @08:50PM (#20924128)
This level of civility falls short of the standards we attempt to maintain on this website.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kristjansson on Monday September 09, 2019 @08:44PM (#20924095)
Sure, naked shorts are bounded, but a naked short is not the only way to profit from the decline of an asset.

And really, if you’re talking about limiting cases, you’re bounded by what your counterparties are good for, and by what your relevant regulators will let you get away with (or, depending on who your counterparties are, how far you can go before you end up in a ditch somewhere)

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by jkhdigital on Monday September 09, 2019 @08:13PM (#20923928)
Ever heard of derivatives?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lawn on Monday September 09, 2019 @02:32PM (#20920920)
> It effectively establishes a billion dollar bounty for any party who can rewrite enough blocks to erase it.

To do what exactly?

Nobody can redirect the transaction to themselves and the best they can do is erase it. 51% attacking the network will cost you a lot, and you won't actually win anything in your attack.

Even if the owner of the coins is the attacker, you can only win by double-spending the transaction by reversing a payment to someone else. Of course if we're talking about such a large transaction you should wait for more confirmations, making the double-spend attack so much more difficult to pull off.

Anything you would get in return, like a bank transfer or parts of a city, would have a much longer settlement time. Being afraid of your Bitcoin transaction being reversed should be the least of your worries.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by qroshan on Monday September 09, 2019 @06:55PM (#20923392)
If the liquidity is enough, 1) Short Bitcoin to the tune of several Billion dollars. 2) Do a 51% attack and essentially prove it's worthlessness. 3) Profit
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by perseusmandate on Monday September 09, 2019 @08:19PM (#20923963)
If you have amassed enough hashpower to be able to do the 51% attack you have far more to gain economically from continuing to mine for the network than to somehow short it (impossible to find a counterparty for a transaction that large) and then have billions of dollars of hardware that is now worthless
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by imtringued on Tuesday September 10, 2019 @10:11AM (#20928374)
Also if multiple parties attempt to mount a 51% attack then they will have to compete with each other which makes the attack impossible.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by james-mcelwain on Monday September 09, 2019 @08:31PM (#20924030)
Are the sort of places willing to sell options on BTC the sort of places that would honor such a contract if the price went to 0?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by jotakami on Tuesday September 10, 2019 @08:12AM (#20927306)
Contracts are established between market participants; the issuer is just a facilitator. LedgerX options are fully collateralized so you could certainly reap the entire value if you bought a put and the price dropped to 0. Liquidity is not very deep though, so you wouldn’t be able to buy much. Margined products (such as Deribit’s options) would probably be force-closed long before the price hit 0.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by james-mcelwain on Tuesday September 10, 2019 @08:40AM (#20927507)
I feel like LedgerX bragging that they are both an exchange and a clearing house does not inspire confidence in their risk management department, although I'm sure the bright minds at the SEC have done their due diligence as they always do.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lonelappde on Monday September 09, 2019 @09:42PM (#20924406)
Such is Bitcoin's continuing rediscovery of all of finance, now including the 2008 Global Financial Crisis.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by Waterluvian on Monday September 09, 2019 @02:35PM (#20920943)
Being able to erase a billion dollars gives you a colossal amount of power to blackmail the owner of that billion dollars.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by lawn on Monday September 09, 2019 @02:46PM (#20921035)
With only six confirmations it's extremely hard (in practice impossible) to reverse, which happens in around an hour. Just wait a few hours, or even a day, and the risk is basically non-existent. There are a million other things to worry about at that point (including someone hitting you with a wrench until you send them money).

The transaction now has 572 confirmations. Nobody will ever reverse that.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by ijpoijpoihpiuoh on Monday September 09, 2019 @02:46PM (#20921034)
You can't erase the bitcoins, just the transaction. If you did that, they'd still be in the source wallet.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by ivoras on Monday September 09, 2019 @06:58PM (#20923417)
> Making a transaction this large is a security risk. It effectively establishes a billion dollar bounty for any party who can rewrite enough blocks to erase it

... accomplishing exactly nothing as all that would do would be returning the money to original spenders. Really, the amount of misinformation floating here is unexpected.

> Now that the value resides in a single coin, any subsequent transaction faces the same risk.

Non sequitur. A rollback of such a block would, by significance be somewhere between "mildly annoying" and "introducing suspicion that future transactions could also be rolled back." In any case, coins would end up where they are supposed to, and no theft can be done. There would be increased risk of double spends, but worried parties could always invest in more (legit) hashpower.

> A consortium/trust has formed in which individuals pay into a common pool of money.

Speculation, but reasonable. It makes business sense.

> That money is then protected with a multi signature script (consistent with the P2SH type). Given a threshold of signatures, the money can be spent, subject to other constraints. These will remain unknown until the first payment is made. At that point we'll know the number and identity of all the eligible keys and the threshold needed to make payment.

Speculation, but too wild. Basically wishful thinking.

> Edit: to be clear, the "bounty" I'm talking about can't be directly claimed just by mining some blocks. Instead, it would have to be claimed as part of a double spend of either the transaction in question or as subsequent transaction of the now-enormous output. Most likely, there would be collusion of some kind between a miner and the owner of the keys. I'm not saying this will happen, but the bigger the transaction, the greater the risk.

Again, wild speculation. So the theory is that someone collected $1B in BTC just to pull off a massive double spend stunt? At that level, it's likely that rubber hose cryptanalysis would resolve the issue quite efficiently.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by amiraliakbari on Monday September 09, 2019 @04:36PM (#20922193)
You really misused the term "coin". In Bitcoin protocol you don't "put value" into something named a "coin". "Wallet" is far more widely used and well-defined.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by celticninja on Tuesday September 10, 2019 @05:03AM (#20926323)
I think 'address' is better. The value has been assigned to an address on the bitcoin network.

The value of the address is denoted in 'coins'

The holder of that 'address' is the owner of the coins.

Multiple 'addresses' controlled by the same owner would exist in a 'wallet'

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by spuz on Tuesday September 10, 2019 @04:30AM (#20926170)
The OP didn't misuse the term "coin". In Bitcoin it refers to the value of a single input or an output. When the OP says "Plunking this much value into a single coin seems like an odd strategy at best" they mean "Plunking this much value into a single unspent transaction output seems an odd strategy".
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by kragen on Monday September 09, 2019 @08:53PM (#20924144)
"Wallet" is widely used and well-defined, but it doesn't refer to something that can be observed in the blockchain. In the blockchain we can observe keys and scripts; a wallet is a usually-encrypted data file containing a potentially large number of keys.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by anticensor on Tuesday September 10, 2019 @02:38AM (#20925628)
Bitcoin operates on transaction inputs and outputs, which work like coins in that their denomination do not change during spending.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by jkoberg on Monday September 09, 2019 @04:15PM (#20921971)
LocalBitcoins pinged me and said I need to establish 2FA or move my funds due to an inactive account,

I wonder if they finally swept all those inactive accounts out.

I started using it back in the $50 days, so some thousands of bitcoin may have been a lot less of a deal when they got deposited

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by baby on Tuesday September 10, 2019 @12:41AM (#20925085)
The point about a wallet not being a thing in Bitcoin makes zero sense as anyone understand what the tweet means.

Your second point makes even less sense. A bug bounty on what exactly? Why would anyone attempt to erase this transaction when it can be resubmitted?

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by illumin8 on Tuesday September 10, 2019 @12:13PM (#20929792)
> Making a transaction this large is a security risk. It effectively establishes a billion dollar bounty for any party who can rewrite enough blocks to erase it.

This is incorrect. It creates a billion dollar bounty only for the sender if they want to commit fraud by effectively reversing the transaction and trying to double-spend the coins by sending them elsewhere.

Anyone with 94k BTC would probably be harming themselves by simply driving the value of BTC to almost 0 by performing such an attack. It would be extremely obvious to everyone once this transaction was reversed due to a chain reorg.

Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by AiDirex on Tuesday September 10, 2019 @06:24AM (#20926697)
why does this make it a bounty? even if you are an alien and have any power to game with bitcoin, such as doing a 51 percent attack, finding private keys, etc. you still have the whole blockchain of bitcoin to play with and probably you would start with many small transactions to go unnoticed. Anyway, what makes the value of bitcoin is its security, knowing that it can be hacked or gamed will make it worthless.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by foobarbecue on Monday September 09, 2019 @09:39PM (#20924391)
What do you mean by "a single coin"? Do you mean a single transaction?
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by celticninja on Tuesday September 10, 2019 @05:03AM (#20926326)
the mean a single address, which contains all the coins (94k in this case)
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by foobarbecue on Tuesday September 10, 2019 @10:08PM (#20935920)
That's what I figured. Weird to call it a coin. There are no coins in bitcoin.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by celticninja on Wednesday September 11, 2019 @04:51AM (#20937844)
Coins are just the metric used to quantify the amount on an address.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by foobarbecue on Thursday September 12, 2019 @01:09AM (#20948205)
No. That's called the balance. "Coins" are not a thing. That term is not in any of the bitcoin glossaries or used on any exchange.
Re:94k Bitcoin (1B USD) transferred from unknown wallet to u... by aalleavitch on Monday September 09, 2019 @03:00PM (#20921181)
Someone just announced the existence of Blackbeard's buried treasure