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

Method ListLockedCoins

src/wallet/wallet.cpp:2684–2692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2682}
2683
2684void CWallet::ListLockedCoins(std::vector<COutPoint>& vOutpts) const
2685{
2686 AssertLockHeld(cs_wallet);
2687 for (std::set<COutPoint>::iterator it = setLockedCoins.begin();
2688 it != setLockedCoins.end(); it++) {
2689 COutPoint outpt = (*it);
2690 vOutpts.push_back(outpt);
2691 }
2692}
2693
2694/** @} */ // end of Actions
2695

Callers 3

spend.cppFile · 0.80
listLockedCoinsMethod · 0.80
listlockunspentFunction · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected