From 9bc8b28c1d26c28edf4bbc890be97c0ad7a73cb9 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Wed, 24 Jul 2019 17:27:49 -0400 Subject: refactor : use RelayTransaction in BroadcastTransaction utility To do so, we also refactor RelayTransaction to take a txid instead of passing a tx --- src/net_processing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net_processing.h') diff --git a/src/net_processing.h b/src/net_processing.h index dffc3f273f..1d26164b18 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -90,4 +90,7 @@ struct CNodeStateStats { /** Get statistics from node state */ bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats); +/** Relay transaction to every node */ +void RelayTransaction(const uint256&, const CConnman& connman); + #endif // BITCOIN_NET_PROCESSING_H -- cgit v1.2.3