Documentation
¶
Index ¶
- type CheckFn
- type Mempool
- func (mp *Mempool) Get(txid types.Hash) *ktypes.Transaction
- func (mp *Mempool) Have(txid types.Hash) bool
- func (mp *Mempool) PeekN(n int) []types.NamedTx
- func (mp *Mempool) PreFetch(txid types.Hash) bool
- func (mp *Mempool) ReapN(n int) []types.NamedTx
- func (mp *Mempool) RecheckTxs(ctx context.Context, fn CheckFn)
- func (mp *Mempool) Remove(txid types.Hash)
- func (mp *Mempool) Size() int
- func (mp *Mempool) Store(txid types.Hash, tx *ktypes.Transaction)
- func (mp *Mempool) TxsAvailable() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.