| 111 | } |
| 112 | |
| 113 | void 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 | |
| 130 | void channel_record_open(struct channel *channel, u32 blockheight, bool record_push) |
| 131 | { |
no test coverage detected