Documentation ¶
Index ¶
- Constants
- type Control
- func (s *Control) DatabaseOnly() (*servicesconn.Connections, error)
- func (s *Control) DatabaseRO() (*servicesconn.Connections, error)
- func (s *Control) Enqueue(pool *idb.TxPool)
- func (s *Control) Init(networkID uint32) error
- func (s *Control) InitConsumeMetrics()
- func (s *Control) InitProduceMetrics()
- func (s *Control) Logger() logging.Logger
- type LocalTxPoolJob
Constants ¶
View Source
const ( MetricProduceProcessedCountKey = "produce_records_processed" MetricProduceSuccessCountKey = "produce_records_success" MetricProduceFailureCountKey = "produce_records_failure" MetricConsumeProcessedCountKey = "consume_records_processed" MetricConsumeProcessMillisCounterKey = "consume_records_process_millis" MetricConsumeSuccessCountKey = "consume_records_success" MetricConsumeFailureCountKey = "consume_records_failure" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { Services cfg.Services ServicesCfg cfg.Config Chains map[string]cfg.Chain `json:"chains"` Log logging.Logger Persist idb.Persist Features map[string]struct{} BalanceManager *balance.Manager GenesisContainer *servicesgenesis.GenesisContainer IsAccumulateBalanceIndexer bool IsAccumulateBalanceReader bool IsDisableBootstrap bool IsAggregateCache bool IndexedList indexedlist.IndexedList LocalTxPool chan *LocalTxPoolJob }
func (*Control) DatabaseOnly ¶
func (s *Control) DatabaseOnly() (*servicesconn.Connections, error)
func (*Control) DatabaseRO ¶
func (s *Control) DatabaseRO() (*servicesconn.Connections, error)
func (*Control) InitConsumeMetrics ¶
func (s *Control) InitConsumeMetrics()
func (*Control) InitProduceMetrics ¶
func (s *Control) InitProduceMetrics()
type LocalTxPoolJob ¶
type LocalTxPoolJob struct { TxPool *idb.TxPool Errs *avlancheGoUtils.AtomicInterface }
Click to show internal directories.
Click to hide internal directories.