MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / WriteMasterKey

Method WriteMasterKey

src/wallet/walletdb.cpp:344–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344bool CWalletDB::WriteMasterKey(uint32_t nID, const CMasterKey& kMasterKey) {
345 nWalletDBUpdated++;
346 return Write(std::make_pair(std::string("mkey"), nID), kMasterKey, true);
347}
348
349bool CWalletDB::EraseMasterKey(uint32_t nID) {
350 nWalletDBUpdated++;

Callers 2

EncryptWalletMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected