diff options
author | patrick s <patrick.strateman@gmail.com> | 2013-08-28 23:53:26 -0700 |
---|---|---|
committer | patrick s <patrick.strateman@gmail.com> | 2013-08-28 23:53:26 -0700 |
commit | 6e51b3bddf782f53527cf968445b298ebdec9bbc (patch) | |
tree | d7cd486a75648cbcc5e5aec9da4bbf4e21292bb6 /src/key.h | |
parent | ff33a3470dd1d1446549d02609c991c0490e0fdf (diff) |
improve wallet load time by removing duplicated calls to EC_KEY_check_key and adding a hash for vchPubKey/vchPrivKey entries in wallet.dat
backwards compatible with previous wallet.dat format
Diffstat (limited to 'src/key.h')
-rw-r--r-- | src/key.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -261,6 +261,9 @@ public: // Derive BIP32 child key. bool Derive(CKey& keyChild, unsigned char ccChild[32], unsigned int nChild, const unsigned char cc[32]) const; + + // Load private key and check that public key matches. + bool Load(CPrivKey &privkey, CPubKey &vchPubKey, bool fSkipCheck); }; struct CExtPubKey { |