MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / MakeAndPushMessage

Method MakeAndPushMessage

src/net_processing.cpp:1142–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140 }
1141 template <typename... Args>
1142 void MakeAndPushMessage(CNode &node, std::string msg_type,
1143 Args &&...args) const {
1144 m_connman.PushMessage(&node, NetMsg::Make(std::move(msg_type),
1145 std::forward<Args>(args)...));
1146 }
1147
1148 /** Send a version message to a peer */
1149 void PushNodeVersion(const Config &config, CNode &pnode, const Peer &peer);

Callers 1

FetchBlockMethod · 0.95

Calls 2

MakeFunction · 0.85
PushMessageMethod · 0.45

Tested by

no test coverage detected