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

Function get_basefee

devtools/gossmap-compress.c:251–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251static u64 get_basefee(struct gossmap *gossmap,
252 const struct gossmap_chan *chan,
253 int dir)
254{
255 u32 basefee;
256 gossmap_chan_get_update_details(gossmap, chan, dir,
257 NULL, NULL, NULL, NULL, &basefee, NULL, NULL, NULL);
258 return basefee;
259}
260
261static u64 get_propfee(struct gossmap *gossmap,
262 const struct gossmap_chan *chan,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected