From 9b9cfae117bb1b30975cc90759d3a6c5f3c9fa64 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Wed, 17 Oct 2018 09:48:17 -0500 Subject: [PATCH] Add explicit setting of parent and parent_hash --- specs/beacon-chain.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index 9a28d85c8..32bed6957 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -603,7 +603,10 @@ def exit_validator(index, crystallized_state, penalize, current_slot): This procedure should be carried out every block. -First, set `recent_block_hashes` to the output of the following, where `parent_hash` is the hash of the immediate previous block (ie. must be equal to `ancestor_hashes[0]`): +* Let `parent_hash` be the hash of the immediate previous beacon block (ie. equal to `ancestor_hashes[0]`). +* Let `parent` be the beacon block with the hash `parent_hash` + +First, set `recent_block_hashes` to the output of the following: ```python def append_to_recent_block_hashes(old_block_hashes: List[Hash32],