From 6334e5328b080b3ff314bc9f5e7f080260aef376 Mon Sep 17 00:00:00 2001 From: Yutaro Mori Date: Tue, 16 Oct 2018 10:11:50 +0900 Subject: [PATCH 1/2] Proposal to clarify `ancestor_hashes` description `i'th ancestor` really means `most recent ancestor that is a multiple of 2**i`, not `go up the chain i times`. Maybe I'm wrong though :) --- specs/beacon-chain.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index 3e214858c..41fe7a19b 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -98,7 +98,8 @@ A `BeaconBlock` has the following fields: 'randao_reveal': 'hash32', # Recent PoW chain reference (block hash) 'pow_chain_reference': 'hash32', - # Skip list of ancestor block hashes (i'th item is 2**i'th ancestor (or zero) for i = 0, ..., 31) + # Skip list of previous block hashes + # i'th item is the most recent ancestor that is a multiple of 2**i for i = 0, ..., 31 'ancestor_hashes': ['hash32'], # Active state root 'active_state_root': 'hash32', From 38f2ae1a74f53b582146e50fa1c071d844ef0f6f Mon Sep 17 00:00:00 2001 From: Yutaro Mori Date: Tue, 16 Oct 2018 10:13:32 +0900 Subject: [PATCH 2/2] Update beacon-chain.md --- specs/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index 41fe7a19b..270fb45ee 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -99,7 +99,7 @@ A `BeaconBlock` has the following fields: # Recent PoW chain reference (block hash) 'pow_chain_reference': 'hash32', # Skip list of previous block hashes - # i'th item is the most recent ancestor that is a multiple of 2**i for i = 0, ..., 31 + # i'th item is the most recent ancestor who's slot is a multiple of 2**i for i = 0, ..., 31 'ancestor_hashes': ['hash32'], # Active state root 'active_state_root': 'hash32',