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

Function excluded

wallet/wallet.c:791–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791static bool excluded(const struct utxo **excludes,
792 const struct utxo *utxo)
793{
794 for (size_t i = 0; i < tal_count(excludes); i++) {
795 if (bitcoin_outpoint_eq(&excludes[i]->outpoint, &utxo->outpoint))
796 return true;
797 }
798 return false;
799}
800
801static bool deep_enough(u32 maxheight, const struct utxo *utxo,
802 u32 current_blockheight)

Callers 2

wallet_find_utxoFunction · 0.85
wallet_has_fundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected