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

Function towire_route_info

common/bolt11.c:435–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435static void towire_route_info(u8 **pptr, const struct route_info *route_info)
436{
437 towire_node_id(pptr, &route_info->pubkey);
438 towire_short_channel_id(pptr, &route_info->short_channel_id);
439 towire_u32(pptr, route_info->fee_base_msat);
440 towire_u32(pptr, route_info->fee_proportional_millionths);
441 towire_u16(pptr, route_info->cltv_expiry_delta);
442}
443
444/* BOLT #11:
445 *

Callers 1

encode_rFunction · 0.85

Calls 4

towire_short_channel_idFunction · 0.85
towire_node_idFunction · 0.70
towire_u32Function · 0.50
towire_u16Function · 0.50

Tested by

no test coverage detected