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

Function push_field

common/bolt11.c:1086–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1084}
1085
1086static void push_field(u5 **data, char type, const void *src, size_t nbits)
1087{
1088 push_field_type_and_len(data, type, nbits);
1089 bech32_push_bits(data, src, nbits);
1090}
1091
1092/* BOLT #11:
1093 *

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