Documentation ¶
Index ¶
- func New(cfg *types.Mempool, sub []byte) queue.Module
- type Queue
- func (cache *Queue) Exist(hash string) bool
- func (cache *Queue) GetItem(hash string) (*mempool.Item, error)
- func (cache *Queue) GetProperFee() int64
- func (cache *Queue) Push(item *mempool.Item) error
- func (cache *Queue) Remove(hash string) error
- func (cache *Queue) Size() int
- func (cache *Queue) Walk(count int, cb func(value *mempool.Item) bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.