Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Head chainTag = 0 Finalized chainTag = 1 Justified chainTag = 2 Genesis chainTag = 3 )
Functions ¶
This section is empty.
Types ¶
type ApiHandler ¶
type ApiHandler struct {
// contains filtered or unexported fields
}
func NewApiHandler ¶
func NewApiHandler(genesisConfig *clparams.GenesisConfig, beaconChainConfig *clparams.BeaconChainConfig, source persistence.RawBeaconBlockChain, indiciesDB kv.RoDB, forkchoiceStore forkchoice.ForkChoiceStorage, operationsPool pool.OperationsPool, rcsn freezeblocks.BeaconSnapshotReader, syncedData *synced_data.SyncedDataManager) *ApiHandler
func (*ApiHandler) ServeHTTP ¶
func (a *ApiHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.