MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MakeAndPushMessage

Method MakeAndPushMessage

src/net_processing.cpp:724–727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722 void PushMessage(CNode& node, CSerializedNetMsg&& msg) const { m_connman.PushMessage(&node, std::move(msg)); }
723 template <typename... Args>
724 void MakeAndPushMessage(CNode& node, std::string msg_type, Args&&... args) const
725 {
726 m_connman.PushMessage(&node, NetMsg::Make(std::move(msg_type), std::forward<Args>(args)...));
727 }
728 template <typename... Args>
729 void MakeAndPushFeature(CNode& node, std::string_view feature_id, Args&&... args) const
730 {

Callers 1

FetchBlockMethod · 0.95

Calls 2

MakeFunction · 0.70
PushMessageMethod · 0.45

Tested by

no test coverage detected