beacon-chain

command
v0.0.0-...-c85edb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

README

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum Serenity in Golang by Prysmatic Labs. Before you begin, check out our Contribution Guidelines and join our active chat room on Discord or Gitter below:

Discord Gitter

Also, read the latest sharding + casper design spec, this design spec serves as a source of truth for the beacon chain implementation we follow at prysmatic labs. Check out the FAQs. Refer this page on why we are combining sharding and casper together.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL