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

Function encode_n

common/bolt11.c:1159–1163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1157}
1158
1159static void encode_n(u5 **data, const struct node_id *id)
1160{
1161 assert(node_id_valid(id));
1162 push_field(data, 'n', id->k, sizeof(id->k) * CHAR_BIT);
1163}
1164
1165static void encode_x(u5 **data, u64 expiry)
1166{

Callers 1

bolt11_encode_Function · 0.85

Calls 2

node_id_validFunction · 0.85
push_fieldFunction · 0.85

Tested by

no test coverage detected