pub trait BroadcastTransaction {
    fn broadcast_transaction(
        &mut self,
        tx: &TransactionRef,
        max_tx_fee: &Amount,
        relay: bool,
        err_string: &mut String
    ) -> bool; }

Required Methods§

| Transaction is added to memory pool, if | the transaction fee is below the amount | specified by max_tx_fee, and broadcast to | all peers if relay is set to true. Return | false if the transaction could not be | added due to the fee or for another | reason.

Implementors§