CConnman::PushMessage

Queue a serialized message to be sent to the given node.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f2e2b748988), requires_capability(0x7f2e28941698), requires_capability(0x7f2e234d0878), requires_capability(0x7f2e2737d018), requires_capability(0x7f2e235ee6a8), requires_capability(0x7f2e2a34a798), requires_capability(0x7f2e219f7568), requires_capability(0x7f2e21c82428), requires_capability(0x7f2e1aa34f88), requires_capability(0x7f2e376b7068), requires_capability(0x7f2e433ccbf8)]]
void
PushMessage(
    CNode* pnode,
    CSerializedNetMsg&& msg);

Parameters

NameDescription
pnodethe node to send the message to.
msgthe serialized message to enqueue.