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

Function try_update_feerates

lightningd/channel_control.c:50–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static void try_update_feerates(struct lightningd *ld, struct channel *channel)
51{
52 /* No point until funding locked in */
53 if (!channel_fees_can_change(channel))
54 return;
55
56 /* Can't if no daemon listening. */
57 if (!channel->owner)
58 return;
59
60 update_feerates(ld, channel);
61}
62
63static void try_update_blockheight(struct lightningd *ld,
64 struct channel *channel,

Callers 4

notify_feerate_changeFunction · 0.85
lockin_completeFunction · 0.85
peer_start_channeldFunction · 0.85
channel_tell_depthFunction · 0.85

Calls 2

channel_fees_can_changeFunction · 0.85
update_feeratesFunction · 0.70

Tested by

no test coverage detected