MCPcopy Create free account
hub / github.com/LUX-Core/lux / LockWallet

Function LockWallet

src/rpcwallet.cpp:2087–2093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2085
2086
2087static void LockWallet(CWallet* pWallet)
2088{
2089 LOCK(cs_nWalletUnlockTime);
2090 nWalletUnlockTime = 0;
2091 pWallet->fWalletUnlockStakingOnly = false;
2092 pWallet->Lock();
2093}
2094
2095UniValue walletpassphrase(const UniValue& params, bool fHelp)
2096{

Callers

nothing calls this directly

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected