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 :)
This commit is contained in:
Yutaro Mori 2018-10-16 10:11:50 +09:00 committed by GitHub
parent 2ce1ddd14c
commit 6334e5328b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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',