Merge pull request #1867 from ethereum/p2p-genesis-root
clarify genesis finalized checkpoint root in p2p spec
This commit is contained in:
commit
1f470b3054
|
@ -468,9 +468,9 @@ The fields are, as seen by the client at the time of sending the message:
|
||||||
- `fork_digest`: The node's `ForkDigest` (`compute_fork_digest(current_fork_version, genesis_validators_root)`) where
|
- `fork_digest`: The node's `ForkDigest` (`compute_fork_digest(current_fork_version, genesis_validators_root)`) where
|
||||||
- `current_fork_version` is the fork version at the node's current epoch defined by the wall-clock time (not necessarily the epoch to which the node is sync)
|
- `current_fork_version` is the fork version at the node's current epoch defined by the wall-clock time (not necessarily the epoch to which the node is sync)
|
||||||
- `genesis_validators_root` is the static `Root` found in `state.genesis_validators_root`
|
- `genesis_validators_root` is the static `Root` found in `state.genesis_validators_root`
|
||||||
- `finalized_root`: `state.finalized_checkpoint.root` for the state corresponding to the head block.
|
- `finalized_root`: `state.finalized_checkpoint.root` for the state corresponding to the head block (Note this defaults to `Root(b'\x00' * 32)` for the genesis finalized checkpoint).
|
||||||
- `finalized_epoch`: `state.finalized_checkpoint.epoch` for the state corresponding to the head block.
|
- `finalized_epoch`: `state.finalized_checkpoint.epoch` for the state corresponding to the head block.
|
||||||
- `head_root`: The hash_tree_root root of the current head block.
|
- `head_root`: The `hash_tree_root` root of the current head block (`BeaconBlock`).
|
||||||
- `head_slot`: The slot of the block corresponding to the `head_root`.
|
- `head_slot`: The slot of the block corresponding to the `head_root`.
|
||||||
|
|
||||||
The dialing client MUST send a `Status` request upon connection.
|
The dialing client MUST send a `Status` request upon connection.
|
||||||
|
|
Loading…
Reference in New Issue