Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
110
void 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
116
static void drain_peer(struct peer *peer)
117
{
Callers
15
send_warning
Function · 0.70
spam_new_peer
Function · 0.70
send_ping
Function · 0.70
send_custommsg
Function · 0.70
handle_ping_in
Function · 0.70
send_manual_ping
Function · 0.70
onionmsg_req
Function · 0.70
handle_onion
Function · 0.70
handle_onion_message
Function · 0.70
peer_send_msg
Function · 0.70
recv_gossip
Function · 0.70
warning_to_peer
Function · 0.70
Calls
2
msg_to_peer_outq
Function · 0.85
status_peer_io
Function · 0.50
Tested by
no test coverage detected