Documentation ¶
Overview ¶
Package beacon-chain defines all the utlities needed for a beacon chain node.
Directories ¶
Path | Synopsis |
---|---|
Package attestation defines the life-cycle and status of single and aggregated attestation.
|
Package attestation defines the life-cycle and status of single and aggregated attestation. |
Package blockchain defines the life-cycle and status of the beacon chain as well as the Ethereum Serenity beacon chain fork-choice rule based on Casper Proof of Stake finality.
|
Package blockchain defines the life-cycle and status of the beacon chain as well as the Ethereum Serenity beacon chain fork-choice rule based on Casper Proof of Stake finality. |
backend
Package backend contains utilities for simulating an entire ETH 2.0 beacon chain for e2e tests and benchmarking purposes.
|
Package backend contains utilities for simulating an entire ETH 2.0 beacon chain for e2e tests and benchmarking purposes. |
core
|
|
attestations
Package attestations tracks the life-cycle of the latest attestations from each validator.
|
Package attestations tracks the life-cycle of the latest attestations from each validator. |
balances
Package balances contains libraries to calculate reward and penalty quotients.
|
Package balances contains libraries to calculate reward and penalty quotients. |
blocks
Package blocks contains block processing libraries.
|
Package blocks contains block processing libraries. |
epoch
Package epoch contains epoch processing libraries.
|
Package epoch contains epoch processing libraries. |
randao
Package randao contains libraries to update and proposer's RANDAO layer and mixes the RANDAO with the existing RANDAO value in state.
|
Package randao contains libraries to update and proposer's RANDAO layer and mixes the RANDAO with the existing RANDAO value in state. |
state
Package state implements the whole state transition function which consists of per slot, per-epoch transitions.
|
Package state implements the whole state transition function which consists of per slot, per-epoch transitions. |
validators
Package validators contains libraries to shuffle validators and retrieve active validator indices from a given slot or an attestation.
|
Package validators contains libraries to shuffle validators and retrieve active validator indices from a given slot or an attestation. |
Package dbcleanup defines the life cycle and logic of beacon DB cleanup routine.
|
Package dbcleanup defines the life cycle and logic of beacon DB cleanup routine. |
Package node defines the services that a beacon chain node would perform.
|
Package node defines the services that a beacon chain node would perform. |
Package operations defines the life-cycle of beacon block operations.
|
Package operations defines the life-cycle of beacon block operations. |
Package powchain defines the services that interact with the ETH1.0 of Ethereum.
|
Package powchain defines the services that interact with the ETH1.0 of Ethereum. |
Package rpc defines the services that the beacon-chain uses to communicate via gRPC.
|
Package rpc defines the services that the beacon-chain uses to communicate via gRPC. |
Package sync defines the utilities for the beacon-chain to sync with the network.
|
Package sync defines the utilities for the beacon-chain to sync with the network. |
initial-sync
Package initialsync is run by the beacon node when the local chain is behind the network's longest chain.
|
Package initialsync is run by the beacon node when the local chain is behind the network's longest chain. |
Package utils defines utility functions for the beacon-chain.
|
Package utils defines utility functions for the beacon-chain. |
Click to show internal directories.
Click to hide internal directories.