Documentation ¶
Index ¶
- Constants
- Variables
- func BlockToSequence(syncable *model.Syncable, rawBlock *blockpb.Block, ...) (*model.BlockSeq, error)
- func NewBackfillSource(cfg *config.Config, db *store.Store, client *client.Client, ...) (*backfillSource, error)
- func NewBlockFetcherTask(client *client.Client) pipeline.Task
- func NewBlockParserTask() *blockParserTask
- func NewBlockSeqCreatorTask(db *store.Store) *blockSeqCreatorTask
- func NewBlockSeqPersistorTask(db *store.Store) pipeline.Task
- func NewHeightMetaRetrieverTask(c *client.Client) pipeline.Task
- func NewIndexSource(cfg *config.Config, db *store.Store, client *client.Client, ...) (*indexSource, error)
- func NewLogger() pipeline.Logger
- func NewMainSyncerTask(db *store.Store) pipeline.Task
- func NewPayloadFactory() *payloadFactory
- func NewPipeline(cfg *config.Config, db *store.Store, client *client.Client) (*indexingPipeline, error)
- func NewSink(db *store.Store, versionNumber int64) *sink
- func NewSyncerPersistorTask(db *store.Store) pipeline.Task
- func NewTargetsReader(file string) (*targetsReader, error)
- type BackfillConfig
- type BackfillSourceConfig
- type BlockFetcherTask
- type HeightMeta
- type IndexSourceConfig
- type ParsedBlockData
- type RunConfig
- type StartConfig
Constants ¶
View Source
const ( AccountAggCreatorTaskName = "AccountAggCreator" ValidatorAggCreatorTaskName = "ValidatorAggCreator" )
View Source
const ( BlockFetcherTaskName = "BlockFetcher" StateFetcherTaskName = "StateFetcher" StakingStateFetcherTaskName = "StakingStateFetcher" ValidatorFetcherTaskName = "ValidatorFetcher" TransactionFetcherTaskName = "TransactionFetcher" )
View Source
const ( BlockParserTaskName = "BlockParser" ValidatorsParserTaskName = "ValidatorsParser" )
View Source
const ( SyncerPersistorTaskName = "SyncerPersistor" BlockSeqPersistorTaskName = "BlockSeqPersistor" ValidatorSeqPersistorTaskName = "ValidatorSeqPersistor" ValidatorAggPersistorTaskName = "ValidatorAggPersistor" )
View Source
const ( BlockSeqCreatorTaskName = "BlockSeqCreator" ValidatorSeqCreatorTaskName = "ValidatorSeqCreator" TransactionSeqCreatorTaskName = "TransactionSeqCreator" StakingSeqCreatorTaskName = "StakingSeqCreator" DelegationSeqCreatorTaskName = "DelegationSeqCreator" DebondingDelegationSeqCreatorTaskName = "DebondingDelegationSeqCreator" )
View Source
const ( TargetIndexBlockSequences = iota + 1 TargetIndexValidatorSequences TargetIndexValidatorAggregates )
View Source
const (
CtxReport = "context_report"
)
View Source
const (
HeightMetaRetrieverTaskName = "HeightMetaRetriever"
)
View Source
const (
MainSyncerTaskName = "MainSyncer"
)
Variables ¶
View Source
var (
ErrNothingToProcess = errors.New("nothing to process")
)
Functions ¶
func BlockToSequence ¶
func NewBackfillSource ¶
func NewBlockParserTask ¶
func NewBlockParserTask() *blockParserTask
func NewBlockSeqCreatorTask ¶
func NewIndexSource ¶
func NewPayloadFactory ¶
func NewPayloadFactory() *payloadFactory
func NewPipeline ¶
func NewTargetsReader ¶
NewTargetsReader constructor for targetsReader
Types ¶
type BackfillConfig ¶
type BackfillSourceConfig ¶
type BackfillSourceConfig struct {
// contains filtered or unexported fields
}
type BlockFetcherTask ¶
type BlockFetcherTask struct {
// contains filtered or unexported fields
}
func (*BlockFetcherTask) GetName ¶
func (t *BlockFetcherTask) GetName() string
type HeightMeta ¶
type IndexSourceConfig ¶
type ParsedBlockData ¶
type StartConfig ¶
Click to show internal directories.
Click to hide internal directories.