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

Function success

tests/fuzz/connectd_handshake.h:147–155  ·  view source on GitHub ↗

A dummy function to call on handshake success. It should never be called * since the fuzzer should not be able to brute force a valid handshake. */

Source from the content-addressed store, hash-verified

145/* A dummy function to call on handshake success. It should never be called
146 * since the fuzzer should not be able to brute force a valid handshake. */
147static struct io_plan *
148success(struct io_conn *conn UNUSED, const struct pubkey *them UNUSED,
149 const struct wireaddr_internal *addr UNUSED, struct crypto_state *cs,
150 struct oneshot *timeout UNUSED, enum is_websocket is_websocket UNUSED,
151 struct timemono starttime UNUSED,
152 void *unused UNUSED)
153{
154 assert(false && "handshake unexpectedly succeeded");
155}
156
157static struct io_plan *do_handshake(struct io_conn *conn, void *side)
158{

Callers 1

establish_onion_path_Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected