MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / AddKeyPubKey

Method AddKeyPubKey

src/wallet/wallet.cpp:296–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296bool CWallet::AddKeyPubKey(const CKey& secret, const CPubKey &pubkey)
297{
298 WalletBatch batch(*database);
299 return CWallet::AddKeyPubKeyWithDB(batch, secret, pubkey);
300}
301
302bool CWallet::AddCryptedKey(const CPubKey &vchPubKey,
303 const std::vector<unsigned char> &vchCryptedSecret)

Callers 8

importprivkeyFunction · 0.45
importwalletFunction · 0.45
rpcdump.cppFile · 0.45
AddKeyFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
TestGUIFunction · 0.45

Calls

no outgoing calls

Tested by 5

AddKeyFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
TestGUIFunction · 0.36