Documentation
¶
Overview ¶
Package analyzer defines the analyzer API.
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 {
// PreWork is called before the analyzer starts its work.
// When running parallel analyzers, this method will only be called once.
PreWork(ctx context.Context) error
// Start starts the analyzer. The method should return once the analyzer
// is confident it has (and will have) no more work to do; that's possibly never.
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 aggregate_stats implements the aggregate stats analyzer.
|
Package aggregate_stats implements the aggregate stats analyzer. |
|
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. |
|
static
Package static contains static data for the consensus analyzer.
|
Package static contains static data for the consensus analyzer. |
|
Package consensus_accounts_list implements the consensus accounts list analyzer.
|
Package consensus_accounts_list implements the consensus accounts list analyzer. |
|
Package evmabi implements the common EVM ABI specs.
|
Package evmabi implements the common EVM ABI specs. |
|
Package evmabibackfill implements the EVM ABI backfill analyzer.
|
Package evmabibackfill implements the EVM ABI backfill analyzer. |
|
Package evmcontractcode implements the EVM contract code analyzer.
|
Package evmcontractcode implements the EVM contract code analyzer. |
|
Package evmnfts implements the EVM NFTs analyzer.
|
Package evmnfts implements the EVM NFTs analyzer. |
|
ipfsclient
Package ipfsclient implements a simple IPFS client.
|
Package ipfsclient implements a simple IPFS client. |
|
multiproto
Package multiproto implements a multi-protocol file fetcher.
|
Package multiproto implements a multi-protocol file fetcher. |
|
Package evmtokenbalances implements the EVM token balances analyzer.
|
Package evmtokenbalances implements the EVM token balances analyzer. |
|
Package evmtokens implements the analyzer for the evm_tokens module.
|
Package evmtokens implements the analyzer for the evm_tokens module. |
|
Package evmverifier implements the EVM contract verifier analyzer.
|
Package evmverifier implements the EVM contract verifier analyzer. |
|
sourcify
Package sourcify implements a client for the Sourcify Server API.
|
Package sourcify implements a client for the Sourcify Server API. |
|
Package httpmisc contains options that are common to a few places that use HTTP.
|
Package httpmisc contains options that are common to a few places that use HTTP. |
|
Package item implements the generic item based analyzer.
|
Package item implements the generic item based analyzer. |
|
Package metadata_registry implements the metadata registry analyzer.
|
Package metadata_registry implements the metadata registry analyzer. |
|
Package nebyprices implements the Neby prices analyzer.
|
Package nebyprices implements the Neby prices analyzer. |
|
Package nodestats implements the node stats analyzer.
|
Package nodestats implements the node stats analyzer. |
|
Package queries defines the SQL queries used by the analyzer.
|
Package queries defines the SQL queries used by the analyzer. |
|
Package rofl implements an analyzer that tracks ROFL apps and their instances.
|
Package rofl implements an analyzer that tracks ROFL apps and their instances. |
|
instance_transactions
Package instancetransactions implements an analyzer that extracts transactions submitted by ROFL instances.
|
Package instancetransactions implements an analyzer that extracts transactions submitted by ROFL instances. |
|
Package roflmarket implements an analyzer that tracks ROFL market providers, their instances and their offers.
|
Package roflmarket implements an analyzer that tracks ROFL market providers, their instances and their offers. |
|
Package runtime implements the analyzer for the accounts module.
|
Package runtime implements the analyzer for the accounts module. |
|
abiparse
Package abiparse implements a parser for Ethereum ABI.
|
Package abiparse implements a parser for Ethereum ABI. |
|
encryption
Package encryption defines the types for encryption envelopes.
|
Package encryption defines the types for encryption envelopes. |
|
evm
Package evm implements the EVM client.
|
Package evm implements the EVM client. |
|
static
Package static contains static data for the analyzer.
|
Package static contains static data for the analyzer. |
|
Package util contains utility analyzer functionality.
|
Package util contains utility analyzer functionality. |
|
addresses
Package addresses implements utilities for working with addresses.
|
Package addresses implements utilities for working with addresses. |
|
eth
Package eth contains utilities for EVM.
|
Package eth contains utilities for EVM. |
|
Package validatorstakinghistory implements the validator staking history analyzer.
|
Package validatorstakinghistory implements the validator staking history analyzer. |
Click to show internal directories.
Click to hide internal directories.