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

Function route_cltv

plugins/libplugin-pay.c:2626–2632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2624}
2625
2626static u32 route_cltv(u32 cltv,
2627 const struct route_info *route, size_t num_route)
2628{
2629 for (size_t i = 0; i < num_route; i++)
2630 cltv += route[i].cltv_expiry_delta;
2631 return cltv;
2632}
2633
2634/** routehint_generate_exclusion_list
2635 *

Callers 2

routehint_pre_getrouteFunction · 0.85
routehint_step_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected