Block view

Blocks 'n' roots

This post is going to lay out data, Ethereum 2.0 explorers such as beaconcha.in visualise

Overview

Epoch, Slot, Status, Proposer are covered in the glossary

Block root

The hash-tree-root of the BeaconBlock.

State root

The hash-tree-root of the BeaconState.

Signature

The BLS signature obtained by using the BeaconState, BeaconBlock and private key.

def get_block_signature(state: BeaconState, block: BeaconBlock, privkey: int) -> BLSSignature

Randao Reveal

TODO

Grafitti

A block proposer can include 32 byte long message to its block proposal.

Eth 1 Data

Received Eth1 Block headers and Deposit data

  • Block Hash: The Hash of the received Eth1 Block.

  • Deposit Count: Amount of validator deposits to the deposit contract in this block.

  • Deposit Root: The root of the merkle tree of deposits.

Attestations

Amount of attestations included in this block by the block proposer.

Deposits

Amount of validator deposits which have been included in this block by the block proposer

Voluntary Exits

Amount of voluntary Exits which have been included in this block by the block proposer.

Slashings

Amount of slashings which have been included in this block by the block proposer.

Votes

Represents the total amount of votes in a specific block. In the example below there were 128 attestations. These attestations received a total of 2802 votes. The aggregation bit is an additional way of representing the votes.

Attestations

Slot

Is the slot number to which the validator is attesting. The slot number points to the same block as the beacon-block-root.

Committee Index

Every epoch the total number of validators is split up in committees and one or more individual committees are responsible to attest to each slot. The committee Index is the identifier for this specific committee during a slot.

Aggregation Bits

Represents the aggregated attestation of all participating validators in this attestation. Each "1" bit is a successful attestation submitted by the validator. "0" bits visualise missed attestations.

Validators

Validators who have submitted their attestation and have been included by the block proposer.

Beacon Block Root

The beacon block root points to the block to which validators are attesting. The difference between the block number in which the attestation has been included, and the one the beacon block root is pointing to, causes the attestation inclusion delay.

Source & Target

These are two additional votes a validator has to submit. The source points to the latest justified epoch, and the target to the latest epoch boundary.

Signature