Module grin_pool::types

source ·
Expand description

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

Structs§

  • Configuration for “Dandelion”. Note: shared between p2p and pool.
  • Dummy adapter used as a placeholder for real implementations
  • Transaction pool configuration
  • Represents a single entry in the pool. A single (possibly aggregated) transaction.

Enums§

  • Possible errors when interacting with the transaction pool.
  • 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§

  • Interface that the pool requires from a blockchain implementation.
  • 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.

Functions§