Documentation
¶
Index ¶
- type Tracker
- type TxTracker
- func (t *TxTracker) EnteredPending(hash common.Hash) error
- func (t *TxTracker) EnteredQueued(hash common.Hash) error
- func (t *TxTracker) ExitedPending(hash common.Hash) error
- func (t *TxTracker) ExitedQueued(hash common.Hash) error
- func (t *TxTracker) IncludedInBlock(hash common.Hash) error
- func (t *TxTracker) RemovedFromPending(hash common.Hash) error
- func (t *TxTracker) RemovedFromQueue(hash common.Hash) error
- func (t *TxTracker) Track(hash common.Hash) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker interface {
Track(hash common.Hash) error
EnteredQueued(hash common.Hash) error
ExitedQueued(hash common.Hash) error
EnteredPending(hash common.Hash) error
ExitedPending(hash common.Hash) error
IncludedInBlock(hash common.Hash) error
RemovedFromPending(hash common.Hash) error
RemovedFromQueue(hash common.Hash) error
}
Tracker tracks timestamps about important events in a transactions lifecycle and exposes metrics about these via prometheus. A no-op implementation is returned by NewNoop for use when tracking is disabled.
type TxTracker ¶
type TxTracker struct {
// contains filtered or unexported fields
}
TxTracker tracks timestamps about important events in a transactions lifecycle and exposes metrics about these via otel.
func (*TxTracker) RemovedFromPending ¶
Click to show internal directories.
Click to hide internal directories.