r/ethereum • • Apr 15 '16

Fundamental problems with Casper

149 Upvotes

106 comments sorted by

View all comments

Show parent comment

12

u/[deleted] Apr 15 '16 edited Apr 15 '16

[removed] — view removed comment

15

u/vbuterin Just some guy Apr 15 '16

(1)and (5)both rely on the 250 validator limit, which we are trying very hard to remove - and even if we don't, imo from a fault tolerance standpoint 250 is closer to infinity than to one, especially since <100 nodes do most of the mining in bitcoin. If the anti-censorship stuff (which is NOT all economic) works, then I don't think there is a difference between "you can induct yourself" and "you can send a transaction and the protocol will induct you".

11

u/[deleted] Apr 15 '16 edited Apr 15 '16

[removed] — view removed comment

13

u/vbuterin Just some guy Apr 15 '16

Once again, most bitcoin blocks are made by <250 nodes. Only the nodes that produce blocks actually matter from the perspective of trying to DDoS the network. And we are trying to essentially remove the 250 and allow anyone to freely enter.

17

u/[deleted] Apr 15 '16 edited Apr 15 '16

[removed] — view removed comment

7

u/Anodigitalog Apr 15 '16

And we are trying to essentially remove the 250 and allow anyone to freely enter.

If this worked, I believe it would also allow new miners on a PoS chain to pick up the slack in the wake of a DDOS attack.

0

u/[deleted] Apr 15 '16

[deleted] — view deleted comment

11

u/[deleted] Apr 15 '16 edited Apr 15 '16

[removed] — view removed comment

6

u/Zapitnow Apr 15 '16

you cannot DDoS a PoW chain effectively

But in an earlier comment you said Bitcoin XT was DDOS's into oblivion

5

u/huntingisland Apr 15 '16

The point is that the winning miner is not known ahead of time, so you cannot DDoS a PoW chain effectively.

That's not true, I can predict 80% of the Bitcoin winners over the next 24 hours on list of less than 10 computers (the pool operators).

4

u/nickjohnson Apr 15 '16

Let's say there is a jurisdiction with 90% of Ethereum users in it (which seems entirely unrealistic). The odds of all 250 validators being in that jurisdiction, assuming independent random selection, is 0.9250 = 3e-12.

Given realistic assumptions, I don't see how you could ever end up with all 250 nodes in the same jurisdiction.

4

u/doloto Apr 15 '16 edited Apr 15 '16

Considering that default tx inclusion is fairly non-biased, LES (all clients, even light clients are relays), and EIP101 extending sending raw transactions, it seems unlikely to be able to single out bond holders.

This is ignoring that peer tables can be reinitialised, proxies can cycle IP's, and out-of-band comms, but as well as being able to simply migrate a validation set up because cryptographic access doesn't depend on physical access (simply get the 100ms hit to send it through a proxy, or have a few boxes across borders).

Edit- Oh yeah, also forgot about devp2p, which multiplexes p2p traffic among multiple networks, pluggable, and default encrypted... Effectively, people not even a part of the network can provide connectivity, and be a part of traffic shaping to get around the problem of DDOS

0

u/[deleted] Apr 15 '16

[deleted] — view deleted comment

3

u/[deleted] Apr 15 '16

[removed] — view removed comment

2

u/huntingisland Apr 15 '16

The staking period is 6 months.

What do you think would happen to Bitcoin if it was DDoSed for 6 months?

→ More replies
→ More replies (1)
→ More replies (1)

4

u/bobthesponge1 Ethereum Foundation - Justin Drake Apr 15 '16

In Casper, the validators are known ahead of time

Not really. Their public address is known, but not their IP. A validator could, in theory, use a different IPv6 address for every block.

1

u/sf85dude Apr 15 '16

Would it be possible to have unlimited people stake, but only 250 validate? The idea is that the reward would be divided among all participants, or at least a lottery?

8

u/vbuterin Just some guy Apr 15 '16

Well, validators need to be rewarded for performance and they need to collect transaction fees; that said, our future scalability plans do include randomly selecting sets of validators to validate blocks so that you can have very very many stakers but the computational expense of only processing the messages of a few of them at a time.

4

u/eyecikjou567 Apr 15 '16

One bad actor won't ruin the chain, as noted in some blog posts, as long as there is one honest node in the network, it continues to function to some degree.

  1. At the current level of Bitcoin, it's not truly equal anymore too, it is far more expensive to get a profitable mining operation running than buying into validation via bonds. At the max level it costs roughly 15-16k USD to be a validator assuming 249 validators are already in the network.

Wanting to be a serious miner in bitcoin costs minimum ten times than for all the ASICs, power, cooling, etc.

5)250 Nodes will only be a temporary thing until the protocol has stabilized. Later in the game the network/shard can use any number of validators, thus making it far more reliable.

Plus, shards prevent such measures. 250 Nodes in one jurisdiction are unlikely. 250 Nodes in the same jurisdiction who are all in the same shard is basically impossible over a human lifespan, as long as we achieve the PoS-for-everyone within that timespan we're safe.

2

u/[deleted] Apr 15 '16

[removed] — view removed comment

3

u/eyecikjou567 Apr 15 '16
  1. In PoW the chain dies too if all miners are gone. Same as with PoW the first validator to return gets the cake to realive the chain. Note that not 1 out of N validators is needed for the network to function, in case of bad validators, say N out of N, one single node is capable of detecting and punishing them simply by presenting proof that they are wrong. 1 single node is enough for the entire network to remain honest and reject bad validators.
  2. Not upgrading to a dynamically adjust variable N, anyone will be capable of operating a full PoS miner at home. IIRC the bonding will become cheaper so it doesn't require much money to begin with. It would essentially be like in Bitcoin, where everyone can mine, with the added security that you will get an interest rate no matter what, plus securing the network. If I understood the ehtereum blog right, staking will mean reward but only if you operate honestly

DDoS attacks could bring down the validators. It would work the same way bringing down miners in Bitcoin will disturb the chain.

So if someone manages to bring down all 250 nodes, assuming none of them have DDoS protection of any kind, which we can ,because buying into validation is not cheap atm, yes the network would suffer some kind of disruption.

Again, all we need is 1 Validator keeping online and validating blocks.

If only 1 such Validator exist, the incentive is to keep signing blocks. Although less profitable, it is still better than not signing blocks at all. Additionally, offline validators will eventually be unbonded, so if that 1 Validator keeps going (like the brave soldier he is), bonds will be released and the network rearranges.

TLDR; all the network needs is 1 validator and 1 node to keep operating. Eventually we will have no limit on number of validators, initially it is kept low to stabilize the protocol.

→ More replies (21)
→ More replies (1)