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

Function init

tests/fuzz/fuzz-wireaddr.c:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#define DEFAULT_PORT 9735
11
12void init(int *argc, char ***argv)
13{
14 /* Don't call this if we're in unit-test mode, as libfuzz.c does it */
15 if (!tmpctx)
16 common_setup("fuzzer");
17 chainparams = chainparams_for_network("bitcoin");
18}
19
20void run(const uint8_t *data, size_t size)
21{

Callers

nothing calls this directly

Calls 2

common_setupFunction · 0.85
chainparams_for_networkFunction · 0.85

Tested by

no test coverage detected