Documentation ¶
Index ¶
- func ProcessBlocks(cfg Configuration, metrics MetricDefinitions)
- func ServeMetrics(registry *prom.Registry)
- type Configuration
- type DateFilter
- type DestinationFilter
- type EthBlock
- type EthMessage
- type EthTransaction
- type FilterChain
- type Lot
- type LotTxn
- type MetricDefinitions
- type SourceFilter
- type TransactionFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessBlocks ¶
func ProcessBlocks(cfg Configuration, metrics MetricDefinitions)
func ServeMetrics ¶
Types ¶
type Configuration ¶
type DateFilter ¶
type DateFilter struct {
// contains filtered or unexported fields
}
func NewDateFilter ¶
func (DateFilter) QualifyTransaction ¶
func (f DateFilter) QualifyTransaction(blk EthBlock, txn EthTransaction) (bool, error)
type DestinationFilter ¶
type DestinationFilter struct {
// contains filtered or unexported fields
}
func NewDestinationFilter ¶
func (DestinationFilter) QualifyTransaction ¶
func (f DestinationFilter) QualifyTransaction(blk EthBlock, txn EthTransaction) (bool, error)
type EthTransaction ¶
type FilterChain ¶
type FilterChain struct {
// contains filtered or unexported fields
}
func (FilterChain) QualifyTransaction ¶
func (fc FilterChain) QualifyTransaction(blk EthBlock, txn EthTransaction) (bool, error)
type MetricDefinitions ¶
type MetricDefinitions struct {
// contains filtered or unexported fields
}
func GetMetricDefinitions ¶
func GetMetricDefinitions() MetricDefinitions
func InitializeMetrics ¶
func InitializeMetrics() MetricDefinitions
type SourceFilter ¶
type SourceFilter struct {
// contains filtered or unexported fields
}
func NewSourceFilter ¶
func (SourceFilter) QualifyTransaction ¶
func (f SourceFilter) QualifyTransaction(blk EthBlock, txn EthTransaction) (bool, error)
type TransactionFilter ¶
type TransactionFilter interface {
QualifyTransaction(EthBlock, EthTransaction) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.