pub trait NetworkTransaction<H> {
    fn trigger_repropagate(&self);
    fn propagate_transaction(&self, hash: H);
}
Expand description

Provides ability to propagate transactions over the network.

Required Methods§

You may call this when new transactions are imported by the transaction pool.

All transactions will be fetched from the TransactionPool that was passed at initialization as part of the configuration and propagated to peers.

You must call when new transaction is imported by the transaction pool.

This transaction will be fetched from the TransactionPool that was passed at initialization as part of the configuration and propagated to peers.

Implementations on Foreign Types§

Implementors§