MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / lockCoin

Method lockCoin

src/wallet/interfaces.cpp:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 return m_wallet->DisplayAddress(dest);
239 }
240 bool lockCoin(const COutPoint& output, const bool write_to_db) override
241 {
242 LOCK(m_wallet->cs_wallet);
243 return m_wallet->LockCoin(output, write_to_db);
244 }
245 bool unlockCoin(const COutPoint& output) override
246 {
247 LOCK(m_wallet->cs_wallet);

Callers

nothing calls this directly

Calls 1

LockCoinMethod · 0.80

Tested by

no test coverage detected