Documentation ¶
Overview ¶
Package rpc defines the services that the beacon-chain uses to communicate via gRPC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port string CertFlag string KeyFlag string BeaconDB db.Database HeadFetcher blockchain.HeadFetcher ForkFetcher blockchain.ForkFetcher FinalizationFetcher blockchain.FinalizationFetcher ParticipationFetcher blockchain.ParticipationFetcher AttestationReceiver blockchain.AttestationReceiver BlockReceiver blockchain.BlockReceiver POWChainService powchain.Chain ChainStartFetcher powchain.ChainStartFetcher GenesisTimeFetcher blockchain.GenesisTimeFetcher MockEth1Votes bool AttestationsPool attestations.Pool SyncService sync.Checker Broadcaster p2p.Broadcaster PeersFetcher p2p.PeersProvider DepositFetcher depositcache.DepositFetcher PendingDepositFetcher depositcache.PendingDepositsFetcher StateNotifier statefeed.Notifier OperationNotifier opfeed.Notifier }
Config options for the beacon node RPC server.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service defining an RPC server for a beacon node.
func NewService ¶
NewService instantiates a new RPC service instance that will be registered into a running beacon node.
Click to show internal directories.
Click to hide internal directories.