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

Function channel_closed

lightningd/channel.h:484–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484static inline bool channel_closed(const struct channel *channel)
485{
486 return channel->state == CLOSINGD_COMPLETE
487 || channel->state == AWAITING_UNILATERAL
488 || channel->state == FUNDING_SPEND_SEEN
489 || channel->state == ONCHAIN
490 || channel->state == CLOSED;
491}
492
493static inline bool channel_has(const struct channel *channel, int f)
494{

Callers 3

peer_closing_completeFunction · 0.85
peer_start_channeldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected