Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ new_peer_fd_arr
Function
new_peer_fd_arr
lightningd/peer_fd.c:21–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
}
20
21
struct peer_fd *new_peer_fd_arr(const tal_t *ctx, const int *fd)
22
{
23
/* We expect 1 fd. */
24
assert(tal_count(fd) == 1);
25
return new_peer_fd(ctx, fd[0]);
26
}
Callers
6
handle_channel_closed
Function · 0.70
handle_channel_locked
Function · 0.70
handle_peer_error
Function · 0.70
opening_funder_finished
Function · 0.70
opening_fundee_finished
Function · 0.70
peer_start_closingd_after_shutdown
Function · 0.70
Calls
1
new_peer_fd
Function · 0.70
Tested by
no test coverage detected