Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heap ¶
type Heap interface {
Add(tx *txs.Tx)
Get(txID ids.ID) *txs.Tx
List() []*txs.Tx
Remove(txID ids.ID) *txs.Tx
Peek() *txs.Tx
RemoveTop() *txs.Tx
Len() int
}
func NewWithMetrics ¶
func NewWithMetrics( txHeap Heap, namespace string, registerer prometheus.Registerer, ) (Heap, error)
type TimedHeap ¶
func NewByEndTime ¶
func NewByEndTime() TimedHeap
func NewByStartTime ¶
func NewByStartTime() TimedHeap
Click to show internal directories.
Click to hide internal directories.