[][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.

NoopAdapter

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.

TxSource

Placeholder: the data representing where we heard about a tx from.

Enums

PoolError

Possible errors when interacting with the transaction pool.

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.