types

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package types holds various types used throughout the scribe package.

Index

Constants

View Source
const (
	// LivefillAtHead signals that the param is livefilling at the head of the chain.
	LivefillAtHead = true
	// IndexingConfirmed signals that the param is indexing before the confirmation threshold.
	IndexingConfirmed = false
)

helper enum for readability.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexerConfig

type IndexerConfig struct {
	Addresses            []common.Address
	GetLogsRange         uint64
	GetLogsBatchAmount   uint64
	StoreConcurrency     int
	ChainID              uint32
	StartHeight          uint64
	EndHeight            uint64
	ConcurrencyThreshold uint64
	Topics               [][]common.Hash
}

IndexerConfig holds metadata for the indexer. It is used to pass data uniformly and used in logging.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL