/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/wallet/ |
H A D | walletdb.cpp | 74 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 244 CPubKey vchPubKey; in ReadKeyValue() local 245 ssKey >> vchPubKey; in ReadKeyValue() 246 if (!vchPubKey.IsValid()) in ReadKeyValue() 283 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 323 CPubKey vchPubKey; in ReadKeyValue() local 324 ssKey >> vchPubKey; in ReadKeyValue() 343 CPubKey vchPubKey; in ReadKeyValue() local 344 ssKey >> vchPubKey; in ReadKeyValue() 363 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
H A D | crypter.cpp | 134 if(!DecryptSecret(vMasterKey, vchCryptedSecret, vchPubKey.GetHash(), vchSecret)) in DecryptKey() 140 key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); in DecryptKey() 141 return key.VerifyPubKey(vchPubKey); in DecryptKey() 190 const CPubKey &vchPubKey = (*mi).second.first; in Unlock() local 193 if (!DecryptKey(vMasterKeyIn, vchCryptedSecret, vchPubKey, key)) in Unlock() 247 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKey() 248 ImplicitlyLearnRelatedKeyScripts(vchPubKey); in AddCryptedKey() 271 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 273 return DecryptKey(vMasterKey, vchCryptedSecret, vchPubKey, keyOut); in GetKey() 317 CPubKey vchPubKey = key.GetPubKey(); in EncryptKeys() local [all …]
|
/dports/net-p2p/litecoin/litecoin-0.18.1/src/wallet/ |
H A D | walletdb.cpp | 74 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 244 CPubKey vchPubKey; in ReadKeyValue() local 245 ssKey >> vchPubKey; in ReadKeyValue() 246 if (!vchPubKey.IsValid()) in ReadKeyValue() 283 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 323 CPubKey vchPubKey; in ReadKeyValue() local 324 ssKey >> vchPubKey; in ReadKeyValue() 343 CPubKey vchPubKey; in ReadKeyValue() local 344 ssKey >> vchPubKey; in ReadKeyValue() 363 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
H A D | crypter.cpp | 134 if(!DecryptSecret(vMasterKey, vchCryptedSecret, vchPubKey.GetHash(), vchSecret)) in DecryptKey() 140 key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); in DecryptKey() 141 return key.VerifyPubKey(vchPubKey); in DecryptKey() 190 const CPubKey &vchPubKey = (*mi).second.first; in Unlock() local 193 if (!DecryptKey(vMasterKeyIn, vchCryptedSecret, vchPubKey, key)) in Unlock() 247 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKey() 248 ImplicitlyLearnRelatedKeyScripts(vchPubKey); in AddCryptedKey() 271 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 273 return DecryptKey(vMasterKey, vchCryptedSecret, vchPubKey, keyOut); in GetKey() 317 CPubKey vchPubKey = key.GetPubKey(); in EncryptKeys() local [all …]
|
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/wallet/ |
H A D | walletdb.cpp | 74 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 244 CPubKey vchPubKey; in ReadKeyValue() local 245 ssKey >> vchPubKey; in ReadKeyValue() 246 if (!vchPubKey.IsValid()) in ReadKeyValue() 283 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 323 CPubKey vchPubKey; in ReadKeyValue() local 324 ssKey >> vchPubKey; in ReadKeyValue() 343 CPubKey vchPubKey; in ReadKeyValue() local 344 ssKey >> vchPubKey; in ReadKeyValue() 363 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
H A D | crypter.cpp | 134 if(!DecryptSecret(vMasterKey, vchCryptedSecret, vchPubKey.GetHash(), vchSecret)) in DecryptKey() 140 key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); in DecryptKey() 141 return key.VerifyPubKey(vchPubKey); in DecryptKey() 190 const CPubKey &vchPubKey = (*mi).second.first; in Unlock() local 193 if (!DecryptKey(vMasterKeyIn, vchCryptedSecret, vchPubKey, key)) in Unlock() 247 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKey() 248 ImplicitlyLearnRelatedKeyScripts(vchPubKey); in AddCryptedKey() 271 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 273 return DecryptKey(vMasterKey, vchCryptedSecret, vchPubKey, keyOut); in GetKey() 317 CPubKey vchPubKey = key.GetPubKey(); in EncryptKeys() local [all …]
|
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/wallet/ |
H A D | crypter.cpp | 136 if(!DecryptSecret(vMasterKey, vchCryptedSecret, vchPubKey.GetHash(), vchSecret)) in DecryptKey() 142 key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); in DecryptKey() 143 return key.VerifyPubKey(vchPubKey); in DecryptKey() 183 const CPubKey &vchPubKey = (*mi).second.first; in Unlock() local 186 if (!DecryptKey(vMasterKeyIn, vchCryptedSecret, vchPubKey, key)) in Unlock() 238 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKey() 253 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 255 return DecryptKey(vMasterKey, vchCryptedSecret, vchPubKey, keyOut); in GetKey() 291 CPubKey vchPubKey = key.GetPubKey(); in EncryptKeys() local 294 if (!EncryptSecret(vMasterKeyIn, vchSecret, vchPubKey.GetHash(), vchCryptedSecret)) in EncryptKeys() [all …]
|
H A D | walletdb.cpp | 81 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 437 CPubKey vchPubKey; in ReadKeyValue() local 438 ssKey >> vchPubKey; in ReadKeyValue() 439 if (!vchPubKey.IsValid()) in ReadKeyValue() 476 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 493 if (!pwallet->LoadKey(key, vchPubKey)) in ReadKeyValue() 516 CPubKey vchPubKey; in ReadKeyValue() local 517 ssKey >> vchPubKey; in ReadKeyValue() 518 if (!vchPubKey.IsValid()) in ReadKeyValue() 536 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/wallet/ |
H A D | crypter.cpp | 136 if(!DecryptSecret(vMasterKey, vchCryptedSecret, vchPubKey.GetHash(), vchSecret)) in DecryptKey() 142 key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); in DecryptKey() 143 return key.VerifyPubKey(vchPubKey); in DecryptKey() 183 const CPubKey &vchPubKey = (*mi).second.first; in Unlock() local 186 if (!DecryptKey(vMasterKeyIn, vchCryptedSecret, vchPubKey, key)) in Unlock() 238 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKey() 253 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 255 return DecryptKey(vMasterKey, vchCryptedSecret, vchPubKey, keyOut); in GetKey() 291 CPubKey vchPubKey = key.GetPubKey(); in EncryptKeys() local 294 if (!EncryptSecret(vMasterKeyIn, vchSecret, vchPubKey.GetHash(), vchCryptedSecret)) in EncryptKeys() [all …]
|
H A D | walletdb.cpp | 81 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 437 CPubKey vchPubKey; in ReadKeyValue() local 438 ssKey >> vchPubKey; in ReadKeyValue() 439 if (!vchPubKey.IsValid()) in ReadKeyValue() 476 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 493 if (!pwallet->LoadKey(key, vchPubKey)) in ReadKeyValue() 516 CPubKey vchPubKey; in ReadKeyValue() local 517 ssKey >> vchPubKey; in ReadKeyValue() 518 if (!vchPubKey.IsValid()) in ReadKeyValue() 536 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/wallet/ |
H A D | crypter.cpp | 136 if(!DecryptSecret(vMasterKey, vchCryptedSecret, vchPubKey.GetHash(), vchSecret)) in DecryptKey() 142 key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); in DecryptKey() 143 return key.VerifyPubKey(vchPubKey); in DecryptKey() 183 const CPubKey &vchPubKey = (*mi).second.first; in Unlock() local 186 if (!DecryptKey(vMasterKeyIn, vchCryptedSecret, vchPubKey, key)) in Unlock() 238 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKey() 253 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 255 return DecryptKey(vMasterKey, vchCryptedSecret, vchPubKey, keyOut); in GetKey() 291 CPubKey vchPubKey = key.GetPubKey(); in EncryptKeys() local 294 if (!EncryptSecret(vMasterKeyIn, vchSecret, vchPubKey.GetHash(), vchCryptedSecret)) in EncryptKeys() [all …]
|
H A D | walletdb.cpp | 81 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 437 CPubKey vchPubKey; in ReadKeyValue() local 438 ssKey >> vchPubKey; in ReadKeyValue() 439 if (!vchPubKey.IsValid()) in ReadKeyValue() 476 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 493 if (!pwallet->LoadKey(key, vchPubKey)) in ReadKeyValue() 516 CPubKey vchPubKey; in ReadKeyValue() local 517 ssKey >> vchPubKey; in ReadKeyValue() 518 if (!vchPubKey.IsValid()) in ReadKeyValue() 536 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/wallet/ |
H A D | walletdb.cpp | 103 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 264 CPubKey vchPubKey; in ReadKeyValue() local 265 ssKey >> vchPubKey; in ReadKeyValue() 266 if (!vchPubKey.IsValid()) in ReadKeyValue() 296 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 333 CPubKey vchPubKey; in ReadKeyValue() local 334 ssKey >> vchPubKey; in ReadKeyValue() 351 CPubKey vchPubKey; in ReadKeyValue() local 352 ssKey >> vchPubKey; in ReadKeyValue() 367 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
H A D | scriptpubkeyman.cpp | 228 const CPubKey &vchPubKey = (*mi).second.first; in CheckDecryptionKey() local 266 CPubKey vchPubKey = key.GetPubKey(); in Encrypt() local 445 assert(keypool.vchPubKey.IsValid()); in GetOldestKeyTimeInPool() 725 mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); in AddCryptedKeyInner() 726 ImplicitlyLearnRelatedKeyScripts(vchPubKey); in AddCryptedKeyInner() 865 const CPubKey &vchPubKey = (*mi).second.first; in GetKey() local 1032 CKeyID keyid = keypool.vchPubKey.GetID(); in LoadKeyPool() 1245 result = keypool.vchPubKey; in GetKeyFromPool() 1253 keypool.vchPubKey = CPubKey(); in ReserveKeyFromKeyPool() 1283 if (!keypool.vchPubKey.IsValid()) { in ReserveKeyFromKeyPool() [all …]
|
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/rpc/ |
H A D | misc.cpp | 118 CPubKey vchPubKey; in operator ()() local 120 if (pwalletMain && pwalletMain->GetPubKey(keyID, vchPubKey)) { in operator ()() 121 obj.push_back(Pair("pubkey", HexStr(vchPubKey))); in operator ()() 122 obj.push_back(Pair("iscompressed", vchPubKey.IsCompressed())); in operator ()() 247 CPubKey vchPubKey; in _createmultisig_redeemScript() local 248 if (!pwalletMain->GetPubKey(keyID, vchPubKey)) in _createmultisig_redeemScript() 251 if (!vchPubKey.IsFullyValid()) in _createmultisig_redeemScript() 253 pubkeys[i] = vchPubKey; in _createmultisig_redeemScript() 261 CPubKey vchPubKey(ParseHex(ks)); in _createmultisig_redeemScript() local 262 if (!vchPubKey.IsFullyValid()) in _createmultisig_redeemScript() [all …]
|
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/rpc/ |
H A D | misc.cpp | 118 CPubKey vchPubKey; in operator ()() local 120 if (pwalletMain && pwalletMain->GetPubKey(keyID, vchPubKey)) { in operator ()() 121 obj.push_back(Pair("pubkey", HexStr(vchPubKey))); in operator ()() 122 obj.push_back(Pair("iscompressed", vchPubKey.IsCompressed())); in operator ()() 247 CPubKey vchPubKey; in _createmultisig_redeemScript() local 248 if (!pwalletMain->GetPubKey(keyID, vchPubKey)) in _createmultisig_redeemScript() 251 if (!vchPubKey.IsFullyValid()) in _createmultisig_redeemScript() 253 pubkeys[i] = vchPubKey; in _createmultisig_redeemScript() 261 CPubKey vchPubKey(ParseHex(ks)); in _createmultisig_redeemScript() local 262 if (!vchPubKey.IsFullyValid()) in _createmultisig_redeemScript() [all …]
|
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/rpc/ |
H A D | misc.cpp | 118 CPubKey vchPubKey; in operator ()() local 120 if (pwalletMain && pwalletMain->GetPubKey(keyID, vchPubKey)) { in operator ()() 121 obj.push_back(Pair("pubkey", HexStr(vchPubKey))); in operator ()() 122 obj.push_back(Pair("iscompressed", vchPubKey.IsCompressed())); in operator ()() 247 CPubKey vchPubKey; in _createmultisig_redeemScript() local 248 if (!pwalletMain->GetPubKey(keyID, vchPubKey)) in _createmultisig_redeemScript() 251 if (!vchPubKey.IsFullyValid()) in _createmultisig_redeemScript() 253 pubkeys[i] = vchPubKey; in _createmultisig_redeemScript() 261 CPubKey vchPubKey(ParseHex(ks)); in _createmultisig_redeemScript() local 262 if (!vchPubKey.IsFullyValid()) in _createmultisig_redeemScript() [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/wallet/ |
H A D | walletdb.cpp | 112 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); 381 CPubKey vchPubKey; in ~CWallet() 382 ssKey >> vchPubKey; in ~CWallet() 383 if (!vchPubKey.IsValid()) in ~CWallet() 413 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ~CWallet() 450 CPubKey vchPubKey; 451 ssKey >> vchPubKey; 480 CPubKey vchPubKey; 481 ssKey >> vchPubKey; 556 CPubKey vchPubKey; [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/wallet/ |
H A D | walletdb.cpp | 112 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 381 CPubKey vchPubKey; in ReadKeyValue() local 382 ssKey >> vchPubKey; in ReadKeyValue() 383 if (!vchPubKey.IsValid()) in ReadKeyValue() 413 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 450 CPubKey vchPubKey; in ReadKeyValue() local 451 ssKey >> vchPubKey; in ReadKeyValue() 480 CPubKey vchPubKey; in ReadKeyValue() local 481 ssKey >> vchPubKey; in ReadKeyValue() 556 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/wallet/ |
H A D | walletdb.cpp | 108 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 342 CPubKey vchPubKey; in ReadKeyValue() local 343 ssKey >> vchPubKey; in ReadKeyValue() 344 if (!vchPubKey.IsValid()) in ReadKeyValue() 374 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 411 CPubKey vchPubKey; in ReadKeyValue() local 412 ssKey >> vchPubKey; in ReadKeyValue() 441 CPubKey vchPubKey; in ReadKeyValue() local 442 ssKey >> vchPubKey; in ReadKeyValue() 517 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/wallet/ |
H A D | walletdb.cpp | 108 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 342 CPubKey vchPubKey; in ReadKeyValue() local 343 ssKey >> vchPubKey; in ReadKeyValue() 344 if (!vchPubKey.IsValid()) in ReadKeyValue() 374 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 411 CPubKey vchPubKey; in ReadKeyValue() local 412 ssKey >> vchPubKey; in ReadKeyValue() 441 CPubKey vchPubKey; in ReadKeyValue() local 442 ssKey >> vchPubKey; in ReadKeyValue() 517 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/wallet/ |
H A D | walletdb.cpp | 108 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 342 CPubKey vchPubKey; in ReadKeyValue() local 343 ssKey >> vchPubKey; in ReadKeyValue() 344 if (!vchPubKey.IsValid()) in ReadKeyValue() 374 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 411 CPubKey vchPubKey; in ReadKeyValue() local 412 ssKey >> vchPubKey; in ReadKeyValue() 441 CPubKey vchPubKey; in ReadKeyValue() local 442 ssKey >> vchPubKey; in ReadKeyValue() 517 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/wallet/ |
H A D | walletdb.cpp | 112 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in WriteKey() 381 CPubKey vchPubKey; in ReadKeyValue() local 382 ssKey >> vchPubKey; in ReadKeyValue() 383 if (!vchPubKey.IsValid()) in ReadKeyValue() 413 vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end()); in ReadKeyValue() 450 CPubKey vchPubKey; in ReadKeyValue() local 451 ssKey >> vchPubKey; in ReadKeyValue() 480 CPubKey vchPubKey; in ReadKeyValue() local 481 ssKey >> vchPubKey; in ReadKeyValue() 556 CPubKey vchPubKey; in ReadKeyValue() local [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/script/ |
H A D | interpreter.h | 159 …td::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& … in CheckSig() argument 187 …virtual bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, c… 192 …td::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& … 210 …virtual bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, c… 215 …td::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& … 230 bool IsCompressedOrUncompressedPubKey(const valtype &vchPubKey);
|
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/script/ |
H A D | interpreter.cpp | 67 if (vchPubKey.size() < 33) { in IsCompressedOrUncompressedPubKey() 71 if (vchPubKey[0] == 0x04) { in IsCompressedOrUncompressedPubKey() 72 if (vchPubKey.size() != 65) { in IsCompressedOrUncompressedPubKey() 76 } else if (vchPubKey[0] == 0x02 || vchPubKey[0] == 0x03) { in IsCompressedOrUncompressedPubKey() 77 if (vchPubKey.size() != 33) { in IsCompressedOrUncompressedPubKey() 88 bool static IsCompressedPubKey(const valtype &vchPubKey) { in IsCompressedPubKey() argument 89 if (vchPubKey.size() != 33) { in IsCompressedPubKey() 93 if (vchPubKey[0] != 0x02 && vchPubKey[0] != 0x03) { in IsCompressedPubKey() 888 valtype& vchPubKey = stacktop(-1); in EvalScript() local 967 valtype& vchPubKey = stacktop(-ikey); in EvalScript() local [all …]
|