[][src]Crate beacon_chain

Re-exports

pub use eth1_chain::Eth1Chain;
pub use eth1_chain::Eth1ChainBackend;
pub use events::EventHandler;
pub use lmd_ghost;
pub use parking_lot;
pub use slot_clock;
pub use store;
pub use types;

Modules

builder
eth1_chain
events
test_utils

Structs

BeaconChain

Represents the "Beacon Chain" component of Ethereum 2.0. Allows import of blocks and block operations and chooses a canonical head.

CheckPoint

Represents some block and it's associated state. Generally, this will be used for tracking the head, justified head and finalized head.

ForkChoice

Enums

AttestationProcessingOutcome
BeaconChainError
BlockProcessingOutcome
BlockProductionError

Traits

BeaconChainTypes

Functions

scrape_for_metrics

Scrape the beacon_chain for metrics that are not constantly updated (e.g., the present slot, head state info, etc) and update the Prometheus DEFAULT_REGISTRY.

Type Definitions

AttestationValidationError
AttesterSlashingValidationError
DepositValidationError
ExitValidationError
ProposerSlashingValidationError
TransferValidationError