diff options
| author | patrick s <[email protected]> | 2013-08-28 23:53:26 -0700 |
|---|---|---|
| committer | patrick s <[email protected]> | 2013-08-28 23:53:26 -0700 |
| commit | 6e51b3bddf782f53527cf968445b298ebdec9bbc (patch) | |
| tree | d7cd486a75648cbcc5e5aec9da4bbf4e21292bb6 /src/key.h | |
| parent | Merge pull request #2931 from Diapolo/intro (diff) | |
| download | discoin-6e51b3bddf782f53527cf968445b298ebdec9bbc.tar.xz discoin-6e51b3bddf782f53527cf968445b298ebdec9bbc.zip | |
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 { |