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

Function notify_feerate_change

lightningd/channel_control.c:113–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void notify_feerate_change(struct lightningd *ld)
114{
115 struct peer *peer;
116
117 /* FIXME: We should notify onchaind about NORMAL fee change in case
118 * it's going to generate more txs. */
119 list_for_each(&ld->peers, peer, list) {
120 struct channel *channel;
121
122 list_for_each(&peer->channels, channel, list)
123 try_update_feerates(ld, channel);
124 }
125
126 /* FIXME: We choose not to drop to chain if we can't contact
127 * peer. We *could* do so, however. */
128}
129
130void channel_record_open(struct channel *channel, u32 blockheight, bool record_push)
131{

Callers 1

update_feeratesFunction · 0.85

Calls 1

try_update_feeratesFunction · 0.85

Tested by

no test coverage detected