[−][src]Trait grin_pool::types::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.
Required methods
fn tx_accepted(&self, tx: &Transaction)
The transaction pool has accepted this transactions as valid and added it to its internal cache.
fn stem_tx_accepted(&self, tx: &Transaction) -> Result<(), PoolError>
The stem transaction pool has accepted this transactions as valid and added it to its internal cache, we have waited for the "patience" timer to fire and we now want to propagate the tx to the next Dandelion relay.
Implementors
impl PoolAdapter for NoopAdapter
[src]
impl PoolAdapter for NoopAdapter
fn tx_accepted(&self, _: &Transaction)
[src]
fn tx_accepted(&self, _: &Transaction)
fn stem_tx_accepted(&self, _: &Transaction) -> Result<(), PoolError>
[src]
fn stem_tx_accepted(&self, _: &Transaction) -> Result<(), PoolError>