package
Version:
v0.0.0-...-0b9d80d
Opens a new window with list of versions in this module.
Published: Nov 2, 2016
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mempool provides a Pool implementation that keeps
all pending transactions in memory.
It is used in tests to avoid needing a database and is not
safe for concurrent access.
MemPool satisfies the protocol.Pool interface.
New returns a new MemPool.
Dump returns all pending transactions in the pool and
empties the pool.
Insert adds a new pending tx to the pending tx pool.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.