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

Function channel_has

lightningd/channel.h:493–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493static inline bool channel_has(const struct channel *channel, int f)
494{
495 return channel_type_has(channel->type, f);
496}
497
498/**
499 * Either returns the short_channel_id if it is known or the local alias.

Callers 9

json_add_htlcsFunction · 0.70
commit_txfeeFunction · 0.70
json_add_channelFunction · 0.70
onchaind_funding_spentFunction · 0.70
peer_start_closingdFunction · 0.70
wallet_add_onchaind_utxoFunction · 0.50
wallet_channel_saveFunction · 0.50
fundee_channelFunction · 0.50

Calls 1

channel_type_hasFunction · 0.50

Tested by

no test coverage detected