Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ push_field
Function
push_field
common/bolt11.c:1094–1098 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1092
}
1093
1094
static void push_field(u5 **data, char type, const void *src, size_t nbits)
1095
{
1096
push_field_type_and_len(data, type, nbits);
1097
bech32_push_bits(data, src, nbits);
1098
}
1099
1100
/* BOLT #11:
1101
*
Callers
8
encode_p
Function · 0.85
encode_m
Function · 0.85
encode_d
Function · 0.85
encode_h
Function · 0.85
encode_n
Function · 0.85
encode_s
Function · 0.85
encode_f
Function · 0.85
encode_r
Function · 0.85
Calls
2
push_field_type_and_len
Function · 0.85
bech32_push_bits
Function · 0.85
Tested by
no test coverage detected