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

Function init

tests/fuzz/fuzz-initial_channel.c:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <wire/wire.h>
23
24void init(int *argc, char ***argv)
25{
26 common_setup("fuzzer");
27 int devnull = open("/dev/null", O_WRONLY);
28 status_setup_sync(devnull);
29 chainparams = chainparams_for_network("bitcoin");
30}
31
32void run(const uint8_t *data, size_t size)
33{

Callers

nothing calls this directly

Calls 3

common_setupFunction · 0.85
chainparams_for_networkFunction · 0.85
status_setup_syncFunction · 0.50

Tested by

no test coverage detected