News for hackers. Stuff that matters.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by jerguismi on Monday July 17, 2017 @01:05PM (#14790418)
Miners can mine segwit2x blocks all they wish, but since services/exchanges are running core client, they are just mining invalid blocks from their viewpoint, and those blocks are ignored. That means miners can't sell their mined segwit2x bitcoins on exchanges. Mining blocks that services don't accept would be very, very stupid, essentially throwing good money to trash.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by buttershakes on Monday July 17, 2017 @01:10PM (#14790461)
So if a huge number of nodes are Segwit2x capable, and the miners are mining Segwit2x blocks with the majority of the hash power, companies are going to stay on a less secure chain that can be attacked by the majority so that they can have a smaller block size and keep the core dev team because they love them? This isn't how that works. Proof-of-work will force those companies onto the dominant chain. Exchanges will probably keep trading the smaller coins also.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by jerguismi on Monday July 17, 2017 @01:19PM (#14790546)
Bitcoin protocol is defined by bitcoin core client, and I would guess more than 99% percent of the services that process bitcoin transactions use that client. The services don't follow actively the hash rate and they won't change the client based on that - the network automatically adjusts to the hash rate available so that blocks come each 10 minutes. If there would exist some other cryptocurrency with more hash rate doesn't mean that services would start calling that one bitcoin.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by buttershakes on Monday July 17, 2017 @01:27PM (#14790614)
That's not what it means. You are right that those clients would begin rejecting blocks, but you can be sure that when customers are calling them asking why their transactions aren't being validated that they will switch. It's not economically feasible to run a business on a minority hash power chain with low transaction throughput.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by BenoitP on Monday July 17, 2017 @01:41PM (#14790727)
As long as one miner is still mining the core chain, the transaction will be validated. It may take a little while at first, but difficulty will adapt.

It's going to be 2 legitimate currencies that are going to differ in value in exchanges. And each current BTC holder will be able to spend 2 coins (provided they take precautions against replayability; like making at first a double-spend to different wallets on the two chains separately)

Now the question is: what will the most BTC-rich people do?

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by buttershakes on Monday July 17, 2017 @02:02PM (#14790895)
It would take years for the difficulty to adapt to a 10 minute block time if the hash power dropped that much, there is a limit per two week adjustment period. More than likely the code would have to be modified to accommodate a rapidly dropping difficulty. See my other post, but that essentially destroys the security of the minority chain.

BTC rich people are on both sides of the debate, expect to see some dumping all around as they make their positions known.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by BenoitP on Monday July 17, 2017 @02:15PM (#14790996)
Not years. The difficulty is recalculated every 2016 blocks (14 days)[1].

If one chain has 10% hashing power, for less or equal to 14 days the transactions could take 10 times more to validate. But that's assuming markets aren't correcting miners in the "right" direction in the meantime. Who wants to waste electricity on undervalued coins?

----

Considering most of BTCs have been mined at the time bitcoin core had no competition; I'd say BTC rich people would tend to side with them. Because of emotional attachment, economic ties, and most importantly the dumb but very real reason of software maintenance.

[1] https://en.bitcoin.it/wiki/Mining

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by comex on Monday July 17, 2017 @02:33PM (#14791164)
But if blocks are being produced at 10% of the expected rate, it will take 14*10=140 days before the difficulty is recalculated.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by olegkikin on Monday July 17, 2017 @06:22PM (#14792739)
If you're hard-forking, you can increase the recalculation rate for a few first new blocks. You can even recalculate every block for, say, 1000 or 5000 blocks .
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by sobani on Thursday July 20, 2017 @10:56AM (#14813007)
But that wouldn't work for the 'victim chain' of the fork. In this case the idea is that 90% of the miners fork, while 10% remain on the original version.

I don't know if non-miners also check the difficulty or difficulty calculations, but if they do, even the minority chain can't fork without affecting existing users.

In that case everyone would need to fork in which case you're back to square one: what to do with the users that can't or don't want to fork. And if you need to fork anyway, it makes little sense to go with the minority chain.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by xorcist on Monday July 17, 2017 @06:33PM (#14792802)
Realistically, what will happen if mining power moves to an alternative chain but Bitcoins are still what is traded at exchanges, is that miners will move back very quickly. The first one to move will gain the most economically, so game theory dictates the move back will be swift.

In the end, miners mine what people buy. It's that simple.

Any speculation as to what happens if all miners move as one, motivated by ideology instead of economics, is just that.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by Laforet on Monday July 17, 2017 @07:55PM (#14793310)
Mining is centralised enough that large voting blocks already exist, so there is no telling right now which side will win. If the ETH/ETC split is anything to go by, both chaons will survive but only one is going to suceed
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by stale2002 on Monday July 17, 2017 @03:54PM (#14791820)
That's not true. If not enough people are mining the core chain, then it will be attacked, and your money will be stole due to double spend attacks.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by sobani on Thursday July 20, 2017 @11:09AM (#14813126)
You can't steal with a double spend. At worst you can send a transaction and then later undo it. But that would require the dishonest party to work together with or be the hostile miner.

I'm pretty sure the backlash against both the hostile miner and all of Bitcoin combined would not be worth it, except in a Joker 'Let's burn all this cash' kind of way.

The worst a majority can do, is to create a new longest chain without any transactions. But in that case the transactions would still exist and can be mined again later (and supplanted again later).

But that would require a miner to want to spend resources to hurt the minority fork.

If the minority fork is big enough to be a threat, that would require a lot of 'majority' miners to work together to pull off this attack, which would lead to a tragedy of the commons situation. Any majority miner who doesn't participate in the attack would gain.

If the minority fork is small enough to be a toy for a single miner, it still doesn't make sense to put in the still substantial effort.

Just look at the Ethereum fork. Afaik there have been no shenanigans pulled of by a majority miner on the minority fork, even though it's only about 10% of the size.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by jerguismi on Monday July 17, 2017 @01:41PM (#14790721)
"when customers are calling them asking why their transactions aren't being validated that they will switch."

If majority of hashpower would start mining invalid blocks, there would still be some amount of hashpower mining the real chain. Transactions would confirm, albeit more slowly. For the miners mining the real chain the situation would be very good, because less competition from other miners -> more found blocks, more money. Probably the hash rate would grow pretty quickly, and if it wouldn't, the difficulty target would adjust after the 2 week difficulty adjustment period, and confirmation speeds would be back to normal.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by buttershakes on Monday July 17, 2017 @02:00PM (#14790885)
The taking a little while to adapt is because their is less hash power, which means it takes longer to find blocks which means the remaining hash power will have less blocks for many many weeks. This means their expected return is lower, not higher, they aren't getting a larger percentage of found blocks, and those blocks occur farther apart.

Then when the difficulty has fallen enough to make mining profitable and have a consistent 10 minute block time the larger hash power chain will be able to mine at a significantly faster rate on the lower hash power chain and that will make it susceptible to a %51 attack.

The only way to avoid that scenario will be for them to switch the proof-of-work or manage to get a lot more hash power back on their chain. Being on the minority chain in that situation is frankly dangerous, the value should be discounted appropriately.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by jerguismi on Monday July 17, 2017 @02:26PM (#14791102)
"This means their expected return is lower, not higher, they aren't getting a larger percentage of found blocks, and those blocks occur farther apart."

The blocks would happen farther apart, but it would also mean that the remaining miners would have much higher change of actually finding a block, since there would be less competition. Also as there would be the same amount of transactions and less blocks, the blocks would have more collected transaction fees -> bigger reward. Also probably people/exchanges would increase the fees since competition would be bigger to get the transaction to a block.

Also, it would make sense for exchanges etc to buy some mining power. That would make blocks appear faster, and also they would get the mining reweards, so it might be net positive. Or just simply bribe some miners to mine the valid chain. Very easy way to do that would be just to increase the transaction fees that they put to transactions.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by ErikBjare on Monday July 17, 2017 @04:43PM (#14792118)
> The blocks would happen farther apart, but it would also mean that the remaining miners would have much higher change of actually finding a block, since there would be less competition.

That's not true. The chance of finding a block is the same for every hash given a certain difficulty, regardless of competition. So a miner with a certain amount of hashing power will always have the same chance of finding a block until the difficulty changes.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by FabHK on Monday July 17, 2017 @07:25PM (#14793164)
Seems to me GP is right:

The remaining miners make the same amount per day, until difficulty is adjusted, and then much more.

Consider this: one pool with 20% hash power. They only get every 5th block, i.e. 1 coinbase reward every 50 minutes.

Now all the other miners fall away. Now this pool will still take about 50 minutes to find a block, but it will get 100% of them, thus still being rewarded a block every 50 minutes.

However, 2 to 10 weeks later (depending when the last difficulty adjustment was) (or longer, if difficulty adjustment is capped), a block is found every 10 minutes again, and the pool gets 100% of them, thus 5 rewards in 50 minutes.

On the other hand, gp also said: > Also as there would be the same amount of transactions and less blocks, the blocks would have more collected transaction fees -> bigger reward.

If I understand correctly, that the hypothetical 20% mining pool would immediately get 100% rather than 20% of all transaction fees when the other miners fall away.

However, AFAIK the coinbase (mining reward) dwarfs the transaction fees (for now), so that should not be that relevant.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by buttershakes on Monday July 17, 2017 @04:30PM (#14792044)
This isn't the way it would go down. :) Let's wait and see...
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by polyomino on Monday July 17, 2017 @01:23PM (#14790582)
Depends what you mean by secure. If users cannot validate the blocks, then no matter how much hashpower is available, it is vulnerable to miner attack.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by jerguismi on Monday July 17, 2017 @01:24PM (#14790586)
If miners would do a hard fork with different protocol rules, that would be called something other than bitcoin, maybe "segwit2x-bitcoin" or something.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by kbaker on Monday July 17, 2017 @02:57PM (#14791348)
If the exchanges trade 'segwit2x-coin' as Bitcoin, it will become 'Bitcoin', and the legacy coin, if it is possible to use at all, will have to be renamed.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by xorcist on Monday July 17, 2017 @06:36PM (#14792824)
It's not that simple. Exchanges and custodial wallets hold other people's funds, so they are not allowed to decide arbitrarily which chain is "Bitcoin". That would be regulatory suicide.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by grey-area on Monday July 17, 2017 @01:13PM (#14790493)
If your thesis holds, it invalidates the central tenet of a decentralised network. If a central party can set the rules, why not use the much better centralised transaction systems and forgo things like POW?
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by flashmob on Tuesday July 18, 2017 @12:00AM (#14794179)
Exchanges don't care about any particular coin. They only care about their users. If their customers demand trading of segwit2x then that's what what will happen. There could be a lot of opportunity for trading segwit2x because the volatility which is what traders like. Same goes for all other bitcoin forks, it's going to be a trading bonanza for the exchanges!
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by xg15 on Monday July 17, 2017 @03:26PM (#14791582)
Maybe I'm misinformed, but aren't SegWit (without 2x) blocks backwards compatible?

From what I understood, a valid SegWit block will appear valid to an old client.

Certain invalid SegWit blocks will also appear valid to old clients, but those blocks will be rejected by SegWit-enabled miners, so they have little chance to be included should the miners change.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by flashdance on Monday July 17, 2017 @03:39PM (#14791702)
> Maybe I'm misinformed, but aren't SegWit (without 2x) blocks backwards compatible?

You're correct. However, I'm fairly sure OP was talking about Segwit (with 2x).

If most users/exchanges/services don't get on board by the time the scheduled segwit2x hardfork happens, then those blocks would be considered invalid.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by xg15 on Monday July 17, 2017 @07:38PM (#14793232)
That makes sense. However from what I've read, the timeline is "SegWit -> multi-month transition period -> 2x HF".

So by the time the 2x fork comes up, the segwit-enabled chain will already be in use for several months.

Another point I'm wondering (sorry if that's a noob question) : Assume that some of the forks actually lead to a chain split with hashpower distributed 90%/10%.

At some point, the difficulty of the chains will adjust to bring both of them back to the "one block every 10 minutes" rate. However, this will not happen immediately but only when the current difficulty period would complete. Before that happens, the minority chain will still have the difficulty from before the split - the one that assumes 10x as much hash power as now is actually available. That sounds as if the minority chain could become effectively unminable for the rest of the difficulty period. Worse, as the period durations are measured in mined blocks, if blocks are mined slower, the difficulty period will also go on for a longer time.

Does that make any sense?

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by flashdance on Tuesday July 18, 2017 @11:50AM (#14797487)
Super late response, but...

> So by the time the 2x fork comes up, the segwit-enabled chain will already be in use for several months.

Correct. But there's an asterisk here: most people (78%) are running bitcoin core, some run Core/UASF (5%), and some run bitcore (2%). Together, that's 85% of nodes. Core 0.14, Core/UASF, and bitcore are all compatible with segwit, but not with the blocksize increase. Even if you wait multiple months, if people stick with Core (a possible outcome) then they will see 2x blocks as invalid.

> That sounds as if the minority chain could become effectively unminable for the rest of the difficulty period.

The chain wouldn't be unmineable, it would just get mined slower (mining profitability wouldn't be impacted for miners staying on the chain provided the price stays the same). But you're right, blocks will come slower, throughput will be lower, and the adjustment will take longer.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by xg15 on Tuesday July 18, 2017 @03:25PM (#14799306)
That's true - but then the potential split would be between segwit and segwit2x and not whether or not segwit is activated, would it?

Thanks for replying at all! That was really interesting and informative.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by flashdance on Tuesday July 18, 2017 @03:39PM (#14799423)
>That's true - but then the potential split would be between segwit and segwit2x and not whether or not segwit is activated, would it?

Yep, you're 100% right.

Thanks for being interested, haha.

Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by bitcoinbob on Tuesday July 18, 2017 @12:53AM (#14794325)
Note however that several services/exchanges are part of the NYA (segwit2x supporters) too. That's one thing that makes this hard fork much different than previous attempts.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by wmf on Monday July 17, 2017 @01:44PM (#14790758)
AFAIK btc1 produces normal segwit blocks that will be accepted by Core; that's the point of the compromise.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by kbaker on Monday July 17, 2017 @02:38PM (#14791214)
Until the hard fork 3 months down the road, then the blocks won't be accepted.
Re:Bitcoin Is Having a Civil War as It Enters a Critical Month by stale2002 on Monday July 17, 2017 @02:01PM (#14790886)
If the legacy chain has too little hashpower then it can be easily attacked.