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

Function add

bitcoin/script.c:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25static void add(u8 **scriptp, const void *mem, size_t len)
26{
27 size_t oldlen = tal_count(*scriptp);
28 tal_resize(scriptp, oldlen + len);
29 memcpy(*scriptp + oldlen, mem, len);
30}
31
32static void add_op(u8 **scriptp, u8 op)
33{

Callers 2

add_opFunction · 0.70
script_push_bytesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected