Documentation ¶
Index ¶
- type Server
- func (s *Server) GetLightClientBootstrap(w http.ResponseWriter, req *http.Request)
- func (s *Server) GetLightClientFinalityUpdate(w http.ResponseWriter, req *http.Request)
- func (s *Server) GetLightClientOptimisticUpdate(w http.ResponseWriter, req *http.Request)
- func (s *Server) GetLightClientUpdatesByRange(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Blocker lookup.Blocker Stater lookup.Stater HeadFetcher blockchain.HeadFetcher ChainInfoFetcher blockchain.ChainInfoFetcher BeaconDB db.HeadAccessDatabase }
func (*Server) GetLightClientBootstrap ¶
func (s *Server) GetLightClientBootstrap(w http.ResponseWriter, req *http.Request)
GetLightClientBootstrap - implements https://github.com/ethereum/beacon-APIs/blob/263f4ed6c263c967f13279c7a9f5629b51c5fc55/apis/beacon/light_client/bootstrap.yaml
func (*Server) GetLightClientFinalityUpdate ¶
func (s *Server) GetLightClientFinalityUpdate(w http.ResponseWriter, req *http.Request)
GetLightClientFinalityUpdate - implements https://github.com/ethereum/beacon-APIs/blob/263f4ed6c263c967f13279c7a9f5629b51c5fc55/apis/beacon/light_client/finality_update.yaml
func (*Server) GetLightClientOptimisticUpdate ¶
func (s *Server) GetLightClientOptimisticUpdate(w http.ResponseWriter, req *http.Request)
GetLightClientOptimisticUpdate - implements https://github.com/ethereum/beacon-APIs/blob/263f4ed6c263c967f13279c7a9f5629b51c5fc55/apis/beacon/light_client/optimistic_update.yaml
func (*Server) GetLightClientUpdatesByRange ¶
func (s *Server) GetLightClientUpdatesByRange(w http.ResponseWriter, req *http.Request)
GetLightClientUpdatesByRange - implements https://github.com/ethereum/beacon-APIs/blob/263f4ed6c263c967f13279c7a9f5629b51c5fc55/apis/beacon/light_client/updates.yaml