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

Function fee_states_valid

common/fee_states.c:154–157  ·  view source on GitHub ↗

FIXME: we don't know opener inside fromwire_fee_states, so can't do * this there :( */

Source from the content-addressed store, hash-verified

152/* FIXME: we don't know opener inside fromwire_fee_states, so can't do
153 * this there :( */
154bool fee_states_valid(const struct fee_states *fee_states, enum side opener)
155{
156 return fee_states->feerate[last_fee_state(opener)] != NULL;
157}
158
159/* The calculation starts with a 100% margin at very low fees, since
160 * they are likely to rise, and can do so quickly, whereas on the

Callers 5

channelseqFunction · 0.85
peer_sending_commitsigFunction · 0.85
peer_got_commitsigFunction · 0.85
peer_got_revokeFunction · 0.85

Calls 1

last_fee_stateFunction · 0.85

Tested by 1

channelseqFunction · 0.68