Documentation ¶
Overview ¶
Package debug defines a gRPC beacon service implementation, following the official API standards https://ethereum.github.io/beacon-apis/#/. This package includes the beacon and config endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { BeaconDB db.ReadOnlyDatabase HeadFetcher blockchain.HeadFetcher Stater lookup.Stater OptimisticModeFetcher blockchain.OptimisticModeFetcher ForkFetcher blockchain.ForkFetcher ForkchoiceFetcher blockchain.ForkchoiceFetcher FinalizationFetcher blockchain.FinalizationFetcher ChainInfoFetcher blockchain.ChainInfoFetcher }
Server defines a server implementation of the gRPC Beacon Chain service, providing RPC endpoints to access data relevant to the Ethereum Beacon Chain.
func (*Server) GetBeaconStateV2 ¶
func (s *Server) GetBeaconStateV2(w http.ResponseWriter, r *http.Request)
GetBeaconStateV2 returns the full beacon state for a given state ID.
func (*Server) GetForkChoice ¶
func (s *Server) GetForkChoice(w http.ResponseWriter, r *http.Request)
GetForkChoice returns a dump fork choice store.
func (*Server) GetForkChoiceHeadsV2 ¶
func (s *Server) GetForkChoiceHeadsV2(w http.ResponseWriter, r *http.Request)
GetForkChoiceHeadsV2 retrieves the leaves of the current fork choice tree.
Click to show internal directories.
Click to hide internal directories.