Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCheckpointFile ¶
func WithCheckpointFile(file string) func(*MapperConfig)
WithCheckpointFile will initialize the mapper's internal trie with the trie from the provided checkpoint file.
Types ¶
type Feeder ¶
type Feeder interface {
Update() (*ledger.TrieUpdate, error)
}
type Mapper ¶
type Mapper struct {
// contains filtered or unexported fields
}
type MapperConfig ¶
type MapperConfig struct {
CheckpointFile string
}
MapperOptions contains optional parameters we can set for the mapper.
Click to show internal directories.
Click to hide internal directories.