# Packages
No description provided by the author
# Functions
NewService sets up a new instance with an ethclient when given a web3 endpoint as a string in the config.
# Variables
ErrNotABlockInfo will be returned when a cache object is not a pointer to a blockInfo struct.
# Structs
Service fetches important information about the canonical Ethereum ETH1.0 chain via a web3 endpoint using an ethclient.
Web3ServiceConfig defines a config struct for web3 service to use through its life cycle.
# Interfaces
Chain defines a standard interface for the powchain service in Prysm.
ChainInfoFetcher retrieves information about eth1 metadata at the eth2 genesis time.
ChainStartFetcher retrieves information pertaining to the chain start event of the beacon chain for usage across various services.
Client defines a struct that combines all relevant ETH1.0 mainchain interactions required by the beacon chain node.
POWBlockFetcher defines a struct that can retrieve mainchain blocks.
Reader defines a struct that can fetch latest header events from a web3 endpoint.
RPCBlockFetcher defines a subset of methods conformed to by ETH1.0 RPC clients for fetching block information.
RPCClient defines the rpc methods required to interact with the eth1 node.