Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader interface { // Download traces or returning an error with the failure Download(txID common.Hash, blockIO flow.Identifier) (json.RawMessage, error) }
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewTracesIngestionEngine ¶
func NewTracesIngestionEngine( initEVMHeight uint64, blocksBroadcaster *engine.Broadcaster, blocks storage.BlockIndexer, traces storage.TraceIndexer, downloader Downloader, logger zerolog.Logger, ) *Engine
type GCPDownloader ¶
type GCPDownloader struct {
// contains filtered or unexported fields
}
func NewGCPDownloader ¶
func NewGCPDownloader(bucketName string, logger zerolog.Logger) (*GCPDownloader, error)
func (*GCPDownloader) Download ¶
func (g *GCPDownloader) Download(txID common.Hash, blockID flow.Identifier) (json.RawMessage, error)
Click to show internal directories.
Click to hide internal directories.