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

Function fee_states_valid

common/fee_states.c:155–158  ·  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

153/* FIXME: we don't know opener inside fromwire_fee_states, so can't do
154 * this there :( */
155bool fee_states_valid(const struct fee_states *fee_states, enum side opener)
156{
157 return fee_states->feerate[last_fee_state(opener)] != NULL;
158}
159
160static const char *fmt_fee_states(const tal_t *ctx,
161 const struct fee_states *fee_states)

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.70

Tested by 1

channelseqFunction · 0.68