Versions in this module Expand all Collapse all v0 v0.1.0 May 14, 2023 Changes in this version + const KeyPerf + const KeyTile + func OpenDB(file string, readonly bool, cache int, writeBuf int) (*leveldb.DB, error) + func StartHttpServer(log log.Logger, listenAddr string, indexData *IndexData, ...) *http.Server + func UpdatePerf(ctx context.Context, log log.Logger, perf *leveldb.DB, spec *common.Spec, ...) error + func UpdateTiles(log log.Logger, tiles, perf *leveldb.DB, startEpoch, endEpoch common.Epoch) error + type AttestationsLookup func(slot common.Slot) (phase0.Attestations, error) + type Backend interface + HandleImageRequest func() + type BlockLookup func(slot uint64, dest common.SSZObj) error + type BlockRootLookup func(slot common.Slot) (common.Root, error) + type BoundedIndices []common.BoundedIndex + type ImageHandler struct + Log log.Logger + TilesDB *leveldb.DB + func (s *ImageHandler) HandleImgRequest(tileType uint8) http.Handler + type IndexData struct + API string + Title string + type RandaoLookup func(epoch common.Epoch) ([32]byte, error) + type SlotAttestations struct + Attestations phase0.Attestations + Slot common.Slot + type StateLookup func(slot uint64, dest common.SSZObj) error + type Tile struct + A []byte + B []byte + G []byte + OffsetX int + OffsetY int + R []byte + Scale uint8 + func (t *Tile) At(x, y int) color.Color + func (t *Tile) Bounds() image.Rectangle + func (t *Tile) ColorModel() color.Model + func (t *Tile) Opaque() bool + func (t *Tile) RGBAAt(x, y int) color.RGBA + type ValidatorPerformance uint32 + const HeadDistance + const InclusionDistance + const InclusionDistanceMask + const TargetCorrect + const ValidatorExists