News for hackers. Stuff that matters.
Re:Ask HN: What happens to blockchain transactions in case o... by londons_explore on Tuesday June 20, 2017 @11:17AM (#14595235)
In a network partition of any kind (either due to a physical network partition, or a "virtual" partition caused by incompatible client software), the entire network gets duplicated.

Someone who had 27 bitcoins before the split gets 27 of each type of coin after the split.

Every transaction will be incorporated into one or both of the copies. Some transactions will depend on other transactions, and therefore as time passes, even a small difference in the sets of transactions applied to each copy will snowball into the majority of transactions ending up in only one tree.

There is a vulnerability in the bitcoin design here: Transactions from one partition can be replayed on the other tree at any time, now or the future. If someone sends you coins that only exist on one partition, but they later receive coins to the same address on the other partition, you can steal them by replaying the transaction.

Re:Ask HN: What happens to blockchain transactions in case o... by mabbo on Tuesday June 20, 2017 @02:18PM (#14597077)
The design of bitcoin is that this is resolved by one network's coins quickly becoming worthless. The only chain that matters is the one that most people believe is the right chain. The right chain is the one with the most committed blocks on it.

In the event of a partition, the partition with the most miners will almost certainly have the longest chain of committed blocks and be considered the right one.

*Note: I'm a hobbyist, not an expert on this. Please correct me if I'm wrong!

Re:Ask HN: What happens to blockchain transactions in case o... by KirinDave on Tuesday June 20, 2017 @02:32PM (#14597223)
This is a common rebuttal but it seems to only make sense in a human timescale with assumptions of a lack of partitioning.

The miners are very fast, but have the same network as the rest of us for the most part. Disrupting that network renders the current system quite vulnerable to partitioning and if you can carefully partition the miners such that they're arguing among themselves, bitcoin effectively grinds to a halt and requires human intervention and negotiation to fix.

This is a statement not intended to be damning criticism btw. The proper failure mode for a distributed ledger IS to fail as a quorum takes place. Ultimately, bitcoin exists so long as it is more profitable for it to exist than for it to be destroyed. This is the case for most distributed systems.

Re:Ask HN: What happens to blockchain transactions in case o... by stcredzero on Tuesday June 20, 2017 @02:02PM (#14596945)
the entire network gets duplicated.

Someone who had 27 bitcoins before the split gets 27 of each type of coin after the split.

This isn't good. This gives 3rd world authorities a potential motivation to create such a split for profit. The most likely scenario would involve stealing money from domestic addresses. In that case, it could be the case that the rest of the network doesn't care that much.