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

Function add

bitcoin/psbt.c:465–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465static void add(u8 **key, const void *mem, size_t len)
466{
467 size_t oldlen = tal_count(*key);
468 tal_resize(key, oldlen + len);
469 memcpy(*key + oldlen, memcheck(mem, len), len);
470}
471
472static void add_type(u8 **key, const u8 num)
473{

Callers 3

add_typeFunction · 0.70
add_varintFunction · 0.70
psbt_make_keyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected