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

Function towire_route_info

common/bolt11.c:483–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483static void towire_route_info(u8 **pptr, const struct route_info *route_info)
484{
485 towire_node_id(pptr, &route_info->pubkey);
486 towire_short_channel_id(pptr, route_info->short_channel_id);
487 towire_u32(pptr, route_info->fee_base_msat);
488 towire_u32(pptr, route_info->fee_proportional_millionths);
489 towire_u16(pptr, route_info->cltv_expiry_delta);
490}
491
492/* BOLT #11:
493 *

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