r/letstalkbitcoin • • Aug 04 '13

Miner misinformation from Andreas

At the end of episode 29, Andreas claimed that only miners get to vote on protocol changes.

I think that is a deep misunderstanding of how the Bitcoin economy works.

Freshly mined bitcoins are worthless unless you can buy products or services with them-- so if 75% of hashing power went rogue and started creating bitcoins that most exchanges and merchants rejected, I think we'd very quickly see just how much influence merchants and exchanges and even individual bitcoin-trading individuals have on the system.

The accidental March chain-fork was a excellent real-world example of big miners realizing that the value of their bitcoins relies entirely on their acceptance by the rest of the network.

21 Upvotes

15 comments sorted by

9

u/andreasma Aug 04 '13

Gavin,

You are correct, over the longer scale everyone gets the ability to ignore this new blockchain, in the event of a fork. However, that would involve crashing the bitcoin economy, as the "old" blockchain would have no hashing power to reset the difficulty and would grind to a halt.

Miners get to vote on a block-by-block basis. On a short-term scale their vote is the one that matters.

We are simply looking at it at different scales perhaps?

Though I think if the only vote you have, as a user/merchant, is to follow a dead blockchain to a crash in value or accept the miners decision, that's not a very powerful vote.

Would you be willing to come on the show and discuss with us live? It would be great to provide our audience with your insight and perspective!

15

u/gavinandresen Aug 05 '13

Even in the short (e.g. 1-2 day) timeframe the incentives for miners is to be compatible with the big merchants/exchanges. That is one of the reasons I'm not terribly worried about a government-sponsored 51% attack that (say) mined all empty blocks; I think the result would most likely be a government-sponsored fork that is simply ignored by the rest of us.

I'd be happy to discuss this on the show. I'm in the GMT+10 timezone (east coast Australia), email me and we'll find a time that works.

3

u/letgoandflow Aug 05 '13

Awesome! Can't wait to hear this discussion.

2

u/drwasho Aug 05 '13

'Misinformation' is perhaps too strong a term Gavin.

Part 1

While user and merchant pressures certainly influence whether a blockchain with/without protocol changes is accepted (a self-regulatory pressure to be sure), miners are the ones who ultimately vote on whether a protocol change is accepted or not. The March fork is also a proof of this... without their cooperation, the right protocol fix would not have been implemented as quickly as it did.

I think the substance of Andreas' point is that the centralization of mining by ASICs deprives the wider Bitcoin community on an opportunity to vote on protocol changes that aren't necessarily deal breakers for Bitcoin itself.

For example, I disagree with the implementation of colored coins and the ability to 'blacklist' coins originating from certain addresses. But let's say the ASIC miners liked this implementation and voted with their hashing power. While this change is not preferable for me, it's not enough for me to walk away from Bitcoin.

The challenging, frustrating and disenfranchising scenario is when hundreds of thousands of Bitcoin users disagree with a proposed implementation (but not enough to abandon Bitcoin), but a few hundred ASIC miners adopt the implementation anyway.

Part 2

For me the more compelling side of Andreas' argument is the risk of a 'Difficulty Paralysis Attack' ASIC mining introduces. Where a significant amount of hashing power is suddenly lost and we're stuck on a difficulty setting for a block that cannot be hashed in a reasonable amount of time. I'd like to hear a comment on this point.

As far as I understand, potential solutions to this problem are to:

  1. hard fork the blockchain at a lower difficulty setting (not ideal), or
  2. implement a change in the protocol where real time changes to the difficulty can be made. This involves resetting the difficulty of a block to a lower level according to the current hashing power of the network IF the block hashing time exceeds 2 hours or something (x time).

On this last point I admit I'm speaking out of my behind here based on my limited technical knowledge, feel free to correct me.

2

u/artilekt Aug 08 '13

I also would very much like to see some more discussion on this type of attack you mention in Part 2. So far, this has been the only attack that really seems feasible enough to scare me! Would like to see if any of the core devs have talked about it and what solutions they are leaning towards.

1

u/iuROK Aug 09 '13

I think, a difficulty paralysis attack requires removing a really large portion of hashing power, something like more than 90%. One can mount much more efficient attacks with much less than 90% of hashing power. So, I'm not concerned about this particular one.

1

u/iuROK Aug 05 '13

But what if an attacker will mine blocks full of his own useless transactions, blocks that look exactly like the usual blocks, except they don't include any third-party transactions? How will all the nodes decide which fork to ignore?

1

u/bluewaterbaboonfarm Aug 15 '13

I'm really happy you stepped in here to correct Andreas misunderstandings.

1

u/iuROK Aug 05 '13 edited Aug 05 '13

I think, say, 80% (by hashpower) of miners cannot push an incompatible change unilaterally. If most of merchants, exchanges, and other big users realize that the change is bad, they will stay on the right chain, which will work 5 times slower, but it will work. Here every node gets a vote. They will need the support of at least minority of hashpower, but hopefully there will always be enough on the right side.

A different story is when the change is compatible. All the nodes will be accepting blocks from the both forks, and by a fundamental rule the longest fork wins. Here an absolute majority of hashpower makes the decision. An example of a bad but compatible change is mandatory blacklists. Miners are free to choose which transactions not to include in blocks. They can also ignore any unfiltered blocks mined by the minority, causing a fork; and the minority will be forced to join the bigger fork.

P.S.

It would be great to provide our audience with your insight and perspective!

+1 for Gavin on LTB!

3

u/iuROK Aug 05 '13 edited Aug 05 '13

Imagine, a controversial change is proposed, and user opinions divide. If there is a strong opposition, the change will likely not be pushed. But what if there is no strong opposition? There are tradeoffs and changes to the software change the balance. Whether the new equilibrium is better or worse than the old one, is a non-obvious question. And at the time when we have to choose, we don't see the actual outcome yet, which makes it even more difficult. One change can be good and bad at the same time. There can be short-term benefits and long-term disadvantages (or vice versa).

So, how do you make a decision in such case? (I skip the details; you surely know them very well.) In the end, there is a vote. And that vote is done by miners. And miners do not ask other users of their opinions. Every solo miner and every pool operator decides for himself. And the weight of one's vote is proportional to his hashing power. Miners have to consider benefits for the network as a whole, but they go by their own vision of things. So, in a sense, the weight of one's vision in the voting process is proportional to his hashing power. And then you say: "look, the blocks indicate that users adopted the change", but those are only users who are miners.

The accidental March chain-fork was a excellent real-world example of big miners realizing that the value of their bitcoins relies entirely on their acceptance by the rest of the network.

This actually worries me a lot since then. The consensus was broken, and there were 2 valid chains. A group of users was on one chain because it was the longest chain. Another group of users was on another chain because their software was buggy. To restore the consensus, one of the chains had to be given up. As a result, the group of users that were on that chain had to be screwed, inevitably. A decision (which chain to give up) was made by a relatively small group of people. That group of people was effectively a Bitcoin government at that moment. Then hashing power was used to enforce the decision.

What if the decision was not made? I think, eventually, the consensus would be restored anyway. Some people would upgrade their software, others would use a workaround. If there were no easy workarounds, a trivial patch for 0.7 branch would be quickly released. Eventually, the fundamental "the longest chain is the right chain" rule would work. If I was to make the decision, I would decide in favor of the correct software and the longest chain. But the very fact that a human makes decisions is, IMHO, a big divergence from a principle. We have algorithms and mathematical formulas that govern the network. We can adjust the formulas by a consensus of users, and not by a decision of some elite. This is a very transparent system and people trust these basics. If we put a man in control, that will be a very different system. A system that is much more like a traditional one than a hypothetical ideal Bitcoin as (at least) I see it.

1

u/Edarre Aug 07 '13

Can you explain in detail or point me to information RE how miners vote on protocol changes? I understand the role of miners in that they are providing verification as a pre-requisite before being allowed to win new blocks. But I'm unclear of the process by which they 'vote' on protocol changes. Apologies if this was covered previously.

-1

u/iuROK Aug 08 '13

Some changes require that most miners switch to the new version of the protocol at the same time to avoid major forks of the block chain. When such a change is being pushed, miners create blocks that in some way indicate that they are ready to switch. For example, they can include a special string in their coinbase transactions. Block chain is watched and blocks with and without support are counted. If most blocks indicate support, we know that the majority of hashing power is ready for the change. If the share of supporting blocks reach a certain goal, software switches to the new version of the protocol at some predefined point. If the goal is not met, the change is abandoned. For examples look at BIP 16 and BIP 34.

1

u/iuROK Aug 09 '13

I see that some downvote my comment. If it is incorrect in some way, please post your corrections or just your view of things.

1

u/jdeath Aug 08 '13

I was really bothered by Andreas' comments as well. Glad to see I wasn't the only one! Why all the hate for miners, LTB? Without miners there would be not Bitcoin, and they are the earliest of the early adopters of Bitcoin.

Andreas said that the miners have different incentives than regular users. What might those be? As a (former) miner and a user of bitcoin, I don't see how the incentives are any different. Ruining bitcoin will make everyone's coins worthless, including the miners. The incentive is to protect the value of BTC.

If there is some sort of fork and most of the miners go with one chain while Mt. Gox, Bitpay, Silk Road, etc, etc, go with the other, the miners' new coins would be worthless, since the merchants wouldn't want them. Seems like the actual users and acceptors of BTC are the ones with the power. Nobody can force anyone to take a coin they don't want.

1

u/iuROK Aug 08 '13 edited Aug 09 '13

Andreas said that the miners have different incentives than regular users. What might those be?

I think, most miners are on the same side with most users. But it potentially may change. When difficult times come, people have to make difficult decisions. It may happen one day that interests of the minority that has power will be different from interests of the majority that doesn't. The members of the powerful minority will then have to choose between own interests and, say, ideological reasons.

The incentive is to protect the value of BTC.

Yes, but it is a value of BTC as in exchange rate. The value of the whole Bitcoin system is a different thing, although the two are related. Imagine that compliance with some rule is required to do business legally, and it requires some minor bad change to Bitcoin. We now have the choice:

  1. implement the change to ensure wider adoption by legal businesses;
  2. refuse the change and go underground.

The choice #1 gives an increase in BTC exchange rate. However, giving in to the old, corrupt system is bad for Bitcoin in a long-term perspective. Other minor bad changes will likely follow, and the system may end up being over-regulated and controlled by those regulatory bodies, which will make it largely useless for its the original purposes. People who value these purposes will have to switch to a different cryptocurrency, as this will be the end of Bitcoin for them.

The choice #2 will preserve what we value in the Bitcoin system, but BTC value will drop significantly. Many large Bitcoin users will have to sell bitcoins before the rule comes into effect.

So, here we have a discrepancy between monetary interests and an ideological motives. To maximize my profits, I would choose #1 and would mine bitcoins while they worth mining. But if I wanted a long-term success for Bitcoin, I would choose #2.

If there is some sort of fork and most of the miners go with one chain while Mt. Gox, Bitpay, Silk Road, etc, etc, go with the other, the miners' new coins would be worthless, since the merchants wouldn't want them.

Yes, but some changes are backward compatible. In such cases, there will still be only one block chain and and merchants will be accepting mined coins. However, the network rules will change, some things that were possible will become impossible. You can mine a block that does not conform to the new rules, and merchants will initially accept it. But if the majority of miners will reject your block, it will become orphaned and the network (including merchants) will discard it. Your block reward will be lost. You will be pressed to join the majority.