Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeadBlock = "head" FinalizedBlock = "finalized" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpFetcher ¶
type HttpFetcher struct {
// contains filtered or unexported fields
}
func NewHttp ¶
func NewHttp(httpClient eth2client.Service, fetchInterval time.Duration, latestBlockRetryInterval time.Duration, logger *zap.Logger) (*HttpFetcher, error)
func (*HttpFetcher) IsBlockAvailable ¶
func (f *HttpFetcher) IsBlockAvailable(requestedSlot uint64) bool
Click to show internal directories.
Click to hide internal directories.