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

Function tlvstream_set_tu64

wire/tlvstream.c:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void tlvstream_set_tu64(struct tlv_field **stream, u64 type, u64 value)
77{
78 u8 *ser = tal_arr(NULL, u8, 0);
79 towire_tu64(&ser, value);
80 tlvstream_set_raw(stream, type, take(ser), tal_bytelen(ser));
81}
82
83void tlvstream_set_tu32(struct tlv_field **stream, u64 type, u32 value)
84{

Callers 1

Calls 3

tlvstream_set_rawFunction · 0.85
tal_bytelenFunction · 0.85
towire_tu64Function · 0.70

Tested by

no test coverage detected