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

Function inject_peer_msg

connectd/multiplex.c:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void inject_peer_msg(struct peer *peer, const u8 *msg TAKES)
111{
112 status_peer_io(LOG_IO_OUT, &peer->id, msg);
113 msg_to_peer_outq(peer, msg);
114}
115
116static void drain_peer(struct peer *peer)
117{

Callers 15

send_warningFunction · 0.70
spam_new_peerFunction · 0.70
send_pingFunction · 0.70
send_custommsgFunction · 0.70
handle_ping_inFunction · 0.70
send_manual_pingFunction · 0.70
onionmsg_reqFunction · 0.70
handle_onionFunction · 0.70
handle_onion_messageFunction · 0.70
peer_send_msgFunction · 0.70
recv_gossipFunction · 0.70
warning_to_peerFunction · 0.70

Calls 2

msg_to_peer_outqFunction · 0.85
status_peer_ioFunction · 0.50

Tested by

no test coverage detected