package
Version:
v0.0.0-...-7abacdd
Opens a new window with list of versions in this module.
Published: Dec 22, 2022
License: Unlicense
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
TxPool contains valid transactions that may be included in the next block.
NewTxPool returns a new transaction pool.
Add adds a transaction to the pool.
Contains returns whether the txID is in the pool or not.
Count returns the number of transactions in the pool.
ForEach iterates over the pool executing f on each transaction.
Get retrieves a transaction from the pool.
Remove deletes a transaction from the pool.
SizeBytes returns the size of the mempool in bytes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.