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

Function push_field

common/bolt11.c:941–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941static void push_field(u5 **data, char type, const void *src, size_t nbits)
942{
943 push_field_type_and_len(data, type, nbits);
944 bech32_push_bits(data, src, nbits);
945}
946
947/* BOLT #11:
948 *

Callers 8

encode_pFunction · 0.85
encode_mFunction · 0.85
encode_dFunction · 0.85
encode_hFunction · 0.85
encode_nFunction · 0.85
encode_sFunction · 0.85
encode_fFunction · 0.85
encode_rFunction · 0.85

Calls 2

push_field_type_and_lenFunction · 0.85
bech32_push_bitsFunction · 0.85

Tested by

no test coverage detected