MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsLockedCoin

Method IsLockedCoin

src/wallet/wallet.cpp:2676–2682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2674}
2675
2676bool CWallet::IsLockedCoin(uint256 hash, unsigned int n) const
2677{
2678 AssertLockHeld(cs_wallet);
2679 COutPoint outpt(hash, n);
2680
2681 return (setLockedCoins.count(outpt) > 0);
2682}
2683
2684void CWallet::ListLockedCoins(std::vector<COutPoint>& vOutpts) const
2685{

Callers 3

spend.cppFile · 0.80
isLockedCoinMethod · 0.80
lockunspentFunction · 0.80

Calls 1

countMethod · 0.80

Tested by

no test coverage detected