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

Function gossmap_local_setchan

common/gossmap.c:1206–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204}
1205
1206bool gossmap_local_setchan(struct gossmap_localmods *localmods,
1207 struct short_channel_id scid,
1208 struct amount_msat htlc_min,
1209 struct amount_msat htlc_max,
1210 struct amount_msat base_fee,
1211 u32 proportional_fee,
1212 u16 delay,
1213 bool enabled,
1214 int dir)
1215{
1216 struct short_channel_id_dir scidd = {scid, dir};
1217 return gossmap_local_updatechan(localmods, &scidd,
1218 &enabled,
1219 &htlc_min, &htlc_max,
1220 &base_fee, &proportional_fee,
1221 &delay);
1222}
1223
1224/* Apply localmods to this map */
1225void gossmap_apply_localmods(struct gossmap *map,

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

gossmap_local_updatechanFunction · 0.85

Tested by 3

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68