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

Function route_cltv

plugins/libplugin-pay.c:2912–2918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2910}
2911
2912static u32 route_cltv(u32 cltv,
2913 const struct route_info *route, size_t num_route)
2914{
2915 for (size_t i = 0; i < num_route; i++)
2916 cltv += route[i].cltv_expiry_delta;
2917 return cltv;
2918}
2919
2920/** routehint_generate_exclusion_list
2921 *

Callers 2

routehint_pre_getrouteFunction · 0.85
routehint_step_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected