mirror of
https://github.com/alexgo-io/gaze-indexer.git
synced 2026-04-29 12:15:13 +08:00
feat: init runes processor
This commit is contained in:
32
modules/runes/internal/processor/runes_processor.go
Normal file
32
modules/runes/internal/processor/runes_processor.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package processor
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/gaze-network/indexer-network/core/indexers"
|
||||
"github.com/gaze-network/indexer-network/core/types"
|
||||
)
|
||||
|
||||
var _ indexers.BitcoinProcessor = (*runesProcessor)(nil)
|
||||
|
||||
type runesProcessor struct{}
|
||||
|
||||
func NewRunesProcessor() *runesProcessor {
|
||||
return &runesProcessor{}
|
||||
}
|
||||
|
||||
func (r *runesProcessor) Process(ctx context.Context, blocks []types.Block) error {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (r *runesProcessor) CurrentBlock() (types.BlockHeader, error) {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (r *runesProcessor) PrepareData(ctx context.Context, from, to int64) ([]types.Block, error) {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (r *runesProcessor) RevertData(ctx context.Context, from types.BlockHeader) error {
|
||||
panic("implement me")
|
||||
}
|
||||
Reference in New Issue
Block a user