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

Function channel_can_add_htlc

lightningd/channel.h:441–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 enum wallet_tx_type type);
440
441static inline bool channel_can_add_htlc(const struct channel *channel)
442{
443 return channel->state == CHANNELD_NORMAL;
444}
445
446static inline bool channel_fees_can_change(const struct channel *channel)
447{

Callers 3

send_htlc_outFunction · 0.85
best_channelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected