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

Function gossmap_chan_htlc_min

common/gossmap.h:263–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263static inline struct amount_msat
264gossmap_chan_htlc_min(const struct gossmap_chan *chan, const int dir)
265{
266 return amount_msat(fp16_to_u64(chan->half[dir].htlc_min));
267}
268
269/* Remove a channel from the map (warning! realloc can move gossmap_chan
270 * and gossmap_node ptrs!) */

Callers 4

init_linear_networkFunction · 0.85
route_check_constraintsFunction · 0.85
get_flow_pathsFunction · 0.85

Calls 2

fp16_to_u64Function · 0.85
amount_msatClass · 0.70

Tested by

no test coverage detected