[][src]Module grin_pool::types

The primary module containing the implementations of the transaction pool and its top-level members.

Structs

DandelionConfig

Configuration for "Dandelion". Note: shared between p2p and pool.

NoopPoolAdapter

Dummy adapter used as a placeholder for real implementations

PoolConfig

Transaction pool configuration

PoolEntry

Represents a single entry in the pool. A single (possibly aggregated) transaction.

Enums

PoolError

Possible errors when interacting with the transaction pool.

TxSource

Used to make decisions based on transaction acceptance priority from various sources. For example, a node may want to bypass pool size restrictions when accepting a transaction from a local wallet.

Traits

BlockChain

Interface that the pool requires from a blockchain implementation.

PoolAdapter

Bridge between the transaction pool and the rest of the system. Handles downstream processing of valid transactions by the rest of the system, most importantly the broadcasting of transactions to our peers.