| 1061 | } |
| 1062 | |
| 1063 | static void RelayTransaction(const CTransaction& tx, CConnman* connman) |
| 1064 | { |
| 1065 | CInv inv(MSG_TX, tx.GetHash()); |
| 1066 | connman->ForEachNode([&inv](CNode* pnode) |
| 1067 | { |
| 1068 | pnode->PushInventory(inv); |
| 1069 | }); |
| 1070 | } |
| 1071 | |
| 1072 | static void RelayAddress(const CAddress& addr, bool fReachable, CConnman* connman) |
| 1073 | { |
no test coverage detected