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

Function add_varint

bitcoin/psbt.c:684–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684void add_varint(u8 **arr, size_t val)
685{
686 u8 vt[VARINT_MAX_LEN];
687 size_t vtlen;
688 vtlen = varint_put(vt, val);
689 tal_expand(arr, vt, vtlen);
690}
691
692#define LIGHTNING_PROPRIETARY_PREFIX "lightning"
693

Callers 2

psbt_make_keyFunction · 0.85
psbt_to_witnessesFunction · 0.85

Calls 1

varint_putFunction · 0.85

Tested by

no test coverage detected