Directories
¶
| Path | Synopsis |
|---|---|
|
Package beacon-chain defines all the utlities needed for a beacon chain node.
|
Package beacon-chain defines all the utlities needed for a beacon chain node. |
|
attestation
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. |
|
blockchain
Package blockchain defines the life-cycle and status of the beacon chain.
|
Package blockchain defines the life-cycle and status of the beacon chain. |
|
chaintest
command
|
|
|
chaintest/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/incentives
Package incentives defines Casper Proof of Stake rewards and penalties for validator records based on Vitalik Buterin's Friendly Finality Gadget protocol.
|
Package incentives defines Casper Proof of Stake rewards and penalties for validator records based on Vitalik Buterin's Friendly Finality Gadget protocol. |
|
core/validators
Package validators defines helper functions to locate validator based on pubic key.
|
Package validators defines helper functions to locate validator based on pubic key. |
|
dbcleanup
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. |
|
node
Package node defines the services that a beacon chain node would perform.
|
Package node defines the services that a beacon chain node would perform. |
|
powchain
Package powchain defines the services that interact with the PoWChain of Ethereum.
|
Package powchain defines the services that interact with the PoWChain of Ethereum. |
|
rpc
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. |
|
simulator
Package simulator defines the simulation utility to test the beacon-chain.
|
Package simulator defines the simulation utility to test the beacon-chain. |
|
sync
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. |
|
sync/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. |
|
utils
Package utils defines utility functions for the beacon-chain.
|
Package utils defines utility functions for the beacon-chain. |
|
contracts
|
|
|
proto
|
|
|
bls
Package bls implements a go-wrapper around a C BLS library leveraging the BLS12-381 curve.
|
Package bls implements a go-wrapper around a C BLS library leveraging the BLS12-381 curve. |
|
bytes
Package bytes defines helper methods for converting integers to byte slices.
|
Package bytes defines helper methods for converting integers to byte slices. |
|
cmd
Package cmd defines the command line flags for the shared utlities.
|
Package cmd defines the command line flags for the shared utlities. |
|
database
Package database defines a beacon chain DB service that can be initialized with either a persistent db, or an in-memory kv-store.
|
Package database defines a beacon chain DB service that can be initialized with either a persistent db, or an in-memory kv-store. |
|
debug
Package debug defines useful profiling utils that came originally with go-ethereum.
|
Package debug defines useful profiling utils that came originally with go-ethereum. |
|
legacyutil
Package legacyutil exists to convert Ethereum Serenity types to go-ethereum or Ethereum 1.0 types.
|
Package legacyutil exists to convert Ethereum Serenity types to go-ethereum or Ethereum 1.0 types. |
|
mclock
Package mclock is a wrapper for a monotonic clock source
|
Package mclock is a wrapper for a monotonic clock source |
|
p2p
Package p2p handles peer-to-peer networking for Ethereum Serenity clients.
|
Package p2p handles peer-to-peer networking for Ethereum Serenity clients. |
|
p2p/adapter/metric
Package metric contain some prometheus collectors for p2p services.
|
Package metric contain some prometheus collectors for p2p services. |
|
p2p/mock
Package mock_p2p is a generated GoMock package.
|
Package mock_p2p is a generated GoMock package. |
|
params
Package params defines important constants that are essential to the Ethereum 2.0 services.
|
Package params defines important constants that are essential to the Ethereum 2.0 services. |
|
shardutil
Package shardutil defines independent utilities helpful for a sharding-enabled, Ethereum blockchain such as blob serialization as more.
|
Package shardutil defines independent utilities helpful for a sharding-enabled, Ethereum blockchain such as blob serialization as more. |
|
ssz
Package ssz implements the Simple Serialize algorithm specified at https://github.com/ethereum/eth2.0-specs/blob/master/specs/simple-serialize.md
|
Package ssz implements the Simple Serialize algorithm specified at https://github.com/ethereum/eth2.0-specs/blob/master/specs/simple-serialize.md |
|
testutil
Package testutil defines the testing utils such as asserting logs.
|
Package testutil defines the testing utils such as asserting logs. |
|
tools
|
|
|
bootnode
command
*
|
* |
|
bootnode-query
command
Bootstrap / DHT query tool
|
Bootstrap / DHT query tool |
|
relaynode
command
*
|
* |
|
attester
Package attester defines all relevant functionality for a Attester actor within Ethereum Serenity.
|
Package attester defines all relevant functionality for a Attester actor within Ethereum Serenity. |
|
internal
Package internal is a generated GoMock package.
|
Package internal is a generated GoMock package. |
|
node
Package node defines a validator client which connects to a full beacon node as part of the Ethereum Serenity specification.
|
Package node defines a validator client which connects to a full beacon node as part of the Ethereum Serenity specification. |
|
proposer
Package proposer defines all relevant functionality for a Proposer actor within Ethereum Serenity.
|
Package proposer defines all relevant functionality for a Proposer actor within Ethereum Serenity. |
|
rpcclient
Package rpcclient defines a gRPC connection to a beacon node.
|
Package rpcclient defines a gRPC connection to a beacon node. |
|
txpool
Package txpool handles incoming transactions for a sharded Ethereum blockchain.
|
Package txpool handles incoming transactions for a sharded Ethereum blockchain. |
|
types
Package types defines the types used throughout the validator.
|
Package types defines the types used throughout the validator. |
Click to show internal directories.
Click to hide internal directories.

