[−][src]Module grin_servers::common::adapters
Adapters connecting new block, new transaction, and accepted transaction events to consumers of those events.
Structs
ChainToPoolAndNetAdapter | Implementation of the ChainAdapter for the network. Gets notified when the accepted a new block, asking the pool to update its state and the network to broadcast the block |
NetToChainAdapter | Implementation of the NetAdapter for the . Gets notified when new blocks and transactions are received and forwards to the chain and pool implementations. |
PoolToChainAdapter | Implements the view of the required by the TransactionPool to operate. Mostly needed to break any direct lifecycle or implementation dependency between the pool and the chain. |
PoolToNetAdapter | Adapter between the transaction pool and the network, to relay transactions that have been accepted. |
Traits
DandelionAdapter | Adapter between the Dandelion monitor and the current Dandelion "epoch". |