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

Function add_varint

bitcoin/psbt.c:477–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static void add_varint(u8 **key, size_t val)
478{
479 u8 vt[VARINT_MAX_LEN];
480 size_t vtlen;
481 vtlen = varint_put(vt, val);
482 add(key, vt, vtlen);
483}
484
485#define LIGHTNING_PROPRIETARY_PREFIX "lightning"
486

Callers 1

psbt_make_keyFunction · 0.85

Calls 2

varint_putFunction · 0.85
addFunction · 0.70

Tested by

no test coverage detected