MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / RelayTransaction

Function RelayTransaction

src/net_processing.cpp:1063–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061}
1062
1063static 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
1072static void RelayAddress(const CAddress& addr, bool fReachable, CConnman* connman)
1073{

Callers 1

ProcessMessageFunction · 0.85

Calls 3

ForEachNodeMethod · 0.80
PushInventoryMethod · 0.80
GetHashMethod · 0.45

Tested by

no test coverage detected