Documentation ¶
Index ¶
- func Execute() error
- func GetBlockEventsStartIndexHeight(db *gorm.DB, chainID uint) int64
- func RegisterCustomBeginBlockEventParser(eventKey string, parser parsers.BlockEventParser)
- func RegisterCustomEndBlockEventParser(eventKey string, parser parsers.BlockEventParser)
- func RegisterCustomModels(models []any)
- type Indexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCustomBeginBlockEventParser ¶
func RegisterCustomBeginBlockEventParser(eventKey string, parser parsers.BlockEventParser)
func RegisterCustomEndBlockEventParser ¶
func RegisterCustomEndBlockEventParser(eventKey string, parser parsers.BlockEventParser)
func RegisterCustomModels ¶
func RegisterCustomModels(models []any)
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func (*Indexer) GetIndexerStartingHeight ¶
GetIndexerStartingHeight will determine which block to start at if start block is set to -1, it will start at the highest block indexed otherwise, it will start at the first missing block between the start and end height
Click to show internal directories.
Click to hide internal directories.