From ca48b304f9bdad6593fcbfecf6d9dc0e75c56338 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Mon, 1 Oct 2018 09:28:22 -0500 Subject: [PATCH] [fix-crosslink-reward] add 'B *' factor to quadratic leak term in crosslink rewards --- specs/casper_sharding_v2.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/casper_sharding_v2.1.md b/specs/casper_sharding_v2.1.md index 48504f557..0d5782c8d 100644 --- a/specs/casper_sharding_v2.1.md +++ b/specs/casper_sharding_v2.1.md @@ -407,7 +407,7 @@ For each shard S for which a crosslink committee exists in the cycle prior to th * Let `time_since_last_confirmation` be `block.slot_number - crosslink_records[S].slot` * Adjust balances as follows: * If `crosslink_records[S].dynasty == current_dynasty`, no reward adjustments - * Otherwise, participating validators' balances are increased by `B // reward_quotient * (2 * total_participated_v_deposits - total_v_deposits) // total_v_deposits`, and non-participating validators' balances are decreased by `B // reward_quotient + time_since_last_confirmation // quadratic_penalty_quotient` + * Otherwise, participating validators' balances are increased by `B // reward_quotient * (2 * total_participated_v_deposits - total_v_deposits) // total_v_deposits`, and non-participating validators' balances are decreased by `B // reward_quotient + B * time_since_last_confirmation // quadratic_penalty_quotient` Finally: