Documentation
¶
Index ¶
- Constants
- type Processor
- func (p *Processor) CurrentBlock(ctx context.Context) (types.BlockHeader, error)
- func (p *Processor) GetIndexedBlock(ctx context.Context, height int64) (types.BlockHeader, error)
- func (p Processor) Name() string
- func (p *Processor) Process(ctx context.Context, inputs []*types.Block) error
- func (p *Processor) RevertData(ctx context.Context, from int64) error
- func (p *Processor) VerifyStates(ctx context.Context) error
Constants ¶
View Source
const ( Version = "v0.0.1" DBVersion = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func NewProcessor(config config.Config, bitcoinDg datagateway.BitcoinDataGateway, indexerInfoDg datagateway.IndexerInformationDataGateway) *Processor
func (*Processor) CurrentBlock ¶
func (*Processor) GetIndexedBlock ¶
func (*Processor) RevertData ¶
Click to show internal directories.
Click to hide internal directories.