1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
crate::ix!(); impl RelayTransaction for PeerManager { fn relay_transaction( self: Arc<Self>, txid: &u256, wtxid: &u256) { let mut guard = CS_MAIN.lock(); self.clone().relay_transaction_impl( txid.clone(), wtxid.clone() ); } }