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

Method WriteMasterKey

src/wallet/walletdb.cpp:114–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool CWalletDB::WriteMasterKey(unsigned int nID, const CMasterKey& kMasterKey)
115{
116 nWalletDBUpdated++;
117 return Write(std::make_pair(std::string("mkey"), nID), kMasterKey, true);
118}
119
120bool CWalletDB::WriteCScript(const uint160& hash, const CScript& redeemScript)
121{

Callers 2

BOOST_FOREACHFunction · 0.80
EncryptWalletMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected