MCPcopy Create free account
hub / github.com/ElementsProject/lightning / msg_to_peer_outq

Function msg_to_peer_outq

connectd/multiplex.c:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static void msg_to_peer_outq(struct peer *peer, const u8 *msg TAKES)
103{
104 if (is_urgent(fromwire_peektype(msg)))
105 peer->peer_out_urgent++;
106
107 msg_enqueue(peer->peer_outq, msg);
108}
109
110void inject_peer_msg(struct peer *peer, const u8 *msg TAKES)
111{

Callers 3

inject_peer_msgFunction · 0.85
maybe_gossip_msgFunction · 0.85
read_from_subd_doneFunction · 0.85

Calls 3

is_urgentFunction · 0.85
fromwire_peektypeFunction · 0.85
msg_enqueueFunction · 0.85

Tested by

no test coverage detected