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

Function excluded

wallet/wallet.c:777–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777static bool excluded(const struct utxo **excludes,
778 const struct utxo *utxo)
779{
780 for (size_t i = 0; i < tal_count(excludes); i++) {
781 if (bitcoin_outpoint_eq(&excludes[i]->outpoint, &utxo->outpoint))
782 return true;
783 }
784 return false;
785}
786
787static bool deep_enough(u32 maxheight, const struct utxo *utxo,
788 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