ethereum / consensus-specs

Ethereum Proof-of-Stake Consensus Specifications
Creative Commons Zero v1.0 Universal
3.55k stars 970 forks source link

Possible beacon chain changes for phase 1 #1825

Open vbuterin opened 4 years ago

vbuterin commented 4 years ago

Here are some proposed changes that have to do with the contents of the phase 0 file, but which should be delayed until phase 1 either to respect the "don't change phase 0 anymore unless it's security-critical" taboo, or because there is no need until phase 1+ in any case. Nevertheless, these changes are arguably long-term important-to-have.

mcdee commented 4 years ago

"Fixes to rewards during inactivity leak" should be addressed before phase 0 goes live. The idea that a validator can act perfectly and still lose funds due to the actions (or inactions) of others is abhorrent, and a great basis for a discouragement attack.

q9f commented 4 years ago

should be addressed before phase 0 goes live

FYI see #1830

djrtwo commented 4 years ago

"Fixes to rewards during inactivity leak" addressed in #1830 and removed from this issue

SatoshiNakamotogmx commented 4 years ago

Someone working on this? Vitalik? My name is Christopher soper I am from California 43 yeah yeah born August I don't want to step on anyone's toes. Let's chat vitalik 🤷🏻‍♂️

SatoshiNakamotogmx commented 4 years ago

Identity prob or a verification?

dankrad commented 4 years ago

I think we should add withdrawal key exits (#1578) in phase 1. It is essential for staking operations. It was ok to skip for phase 0 but will be a major hassle if we leave it out now.

dankrad commented 4 years ago
* **Establish and maintain a formal invariant bounding validator rewards**, specifically that if validators are behaving perfectly, the per-epoch total reward rate equals `BASE_REWARD_FACTOR / sqrt(total_deposits)`. This is true today (correct head + correct target + correct source + optimal inclusion 7/8 + proposer 1/8 = 4 = BASE_REWARDS_PER_EPOCH) but the invariant should be maintained especially keeping in mind phase 1 objects that get incentivized (eg. custody secret submissions, replies to chunk challenges). This helps to make calculation of validator rewards easier.

I'm now wondering if this is a good idea: In case that there is "overstaking", it may be that the institutional investors are in it because they are holding Eth anyway and just looking for "icing of the cake" return (e.g., exchanges, exchange traded funds, etc.); whereas private stakers might be driven toward negative returns due to costs at small scale staking. So I feel there is a danger that this encourages centralization of staking.

dapplion commented 10 months ago

Any notes of the attacks mentioned here?

The longer duration is needed to mitigate various classes of attacks involving repeatedly activating and exiting