From 38a5c3640b30581a4e807ae6aba13e7266bd1a76 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Thu, 21 Mar 2019 15:13:13 -0500 Subject: [PATCH] Re-added some penalization in case of failure to finalize --- specs/core/0_beacon-chain.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index e2cd8b162..2a7b0c776 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1936,6 +1936,9 @@ def get_justification_and_finalization_deltas(state: BeaconState) -> Tuple[List[ if index in get_attesting_indices(state, state.previous_epoch_attestations): proposer_index = get_beacon_proposer_index(state, inclusion_slot(state, index)) rewards[proposer_index] += get_base_reward(state, index) // ATTESTATION_INCLUSION_REWARD_QUOTIENT + # Take away max rewards if we're not finalizing + if epochs_since_finality > 4: + penalties[index] += get_base_reward(state, index) * 4 return [rewards, penalties] ```