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

Function new_node

ccan/ccan/tal/benchmark/samba-allocs.c:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25static int node_count;
26
27static struct node *new_node(void)
28{
29 node_count++;
30 return calloc(sizeof(struct node), 1);
31}
32
33/* struct db_context contains 282 bytes in 5 blocks (ref 0) d=(nil) 0x1f64e70 */
34static struct node *parse(const char *line)

Callers 2

parseFunction · 0.70
read_nodesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected