Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrOutOfRange is returned if the current block does not fall within the // analyzer's analysis range. ErrOutOfRange = errors.New("range not found. no data source available") // ErrLatestBlockNotFound is returned if the analyzer has not indexed any // blocks yet. This indicates to begin from the start of its range. ErrLatestBlockNotFound = errors.New("latest block not found") )
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface { // Start starts the analyzer. Start(ctx context.Context) // Name returns the name of the analyzer. Name() string }
Analyzer is a worker that analyzes a subset of the Oasis Network.
type BlockAnalysisMode ¶ added in v0.1.11
type BlockAnalysisMode string
const ( FastSyncMode BlockAnalysisMode = "fast-sync" SlowSyncMode BlockAnalysisMode = "slow-sync" )
Directories ¶
Path | Synopsis |
---|---|
Package block implements the generic block based analyzer.
|
Package block implements the generic block based analyzer. |
Package consensus implements an analyzer for the consensus layer.
|
Package consensus implements an analyzer for the consensus layer. |
Package item implements the generic item based analyzer.
|
Package item implements the generic item based analyzer. |
Package util contains utility analyzer functionality.
|
Package util contains utility analyzer functionality. |
Click to show internal directories.
Click to hide internal directories.