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

Function towire_bigsize

common/bigsize.c:118–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void towire_bigsize(u8 **pptr, const bigsize_t val)
119{
120 u8 buf[BIGSIZE_MAX_LEN];
121 size_t len;
122
123 len = bigsize_put(buf, val);
124 towire(pptr, buf, len);
125}

Callers 5

sphinx_add_hopFunction · 0.70
encoding_add_query_flagFunction · 0.50
runFunction · 0.50
towire_tlvstream_rawFunction · 0.50
towire_tlvFunction · 0.50

Calls 2

bigsize_putFunction · 0.70
towireFunction · 0.50

Tested by

no test coverage detected