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

Method WriteKeyStoreValue

src/wallet/walletdb.cpp:289–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289bool CWalletDB::WriteKeyStoreValue(const CKeyID& keyId, const CKeyCombi& KeyCombi, int32_t nVersion) {
290 nWalletDBUpdated++;
291 // cout << "keystore:" << "Keyid=" << keyId.ToAddress() << " KeyCombi:" << KeyCombi.ToString() << endl;
292 return Write(make_pair(string("keystore"), keyId), KeyCombi, true, nVersion);
293}
294
295bool CWalletDB::EraseKeyStoreValue(const CKeyID& keyId) {
296 nWalletDBUpdated++;

Callers 2

AddKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected