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

Function peer_write_postclose

connectd/peer_exchange_initmsg.c:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171
172#if DEVELOPER
173static struct io_plan *peer_write_postclose(struct io_conn *conn,
174 struct early_peer *peer)
175{
176 dev_sabotage_fd(io_conn_fd(conn), true);
177 return read_init(conn, peer);
178}
179
180static struct io_plan *peer_write_post_sabotage(struct io_conn *conn,
181 struct early_peer *peer)

Callers

nothing calls this directly

Calls 3

dev_sabotage_fdFunction · 0.85
io_conn_fdFunction · 0.85
read_initFunction · 0.85

Tested by

no test coverage detected