Skip to content

Commit 62c209f

Browse files
committed
wallet: doc: remove mentions of unavailable scrypt derivation method
These comments are there since wallet encryption was first introduced (see commit 4e87d34, PR #352), but scrypt was actually never implemented as a derivation method.
1 parent 0a931a9 commit 62c209f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/wallet/crypter.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const unsigned int WALLET_CRYPTO_IV_SIZE = 16;
2323
* derived using derivation method nDerivationMethod
2424
* (0 == EVP_sha512()) and derivation iterations nDeriveIterations.
2525
* vchOtherDerivationParameters is provided for alternative algorithms
26-
* which may require more parameters (such as scrypt).
26+
* which may require more parameters.
2727
*
2828
* Wallet Private Keys are then encrypted using AES-256-CBC
2929
* with the double-sha256 of the public key as the IV, and the
@@ -37,11 +37,9 @@ class CMasterKey
3737
std::vector<unsigned char> vchCryptedKey;
3838
std::vector<unsigned char> vchSalt;
3939
//! 0 = EVP_sha512()
40-
//! 1 = scrypt()
4140
unsigned int nDerivationMethod;
4241
unsigned int nDeriveIterations;
43-
//! Use this for more parameters to key derivation,
44-
//! such as the various parameters to scrypt
42+
//! Use this for more parameters to key derivation (currently unused)
4543
std::vector<unsigned char> vchOtherDerivationParameters;
4644

4745
SERIALIZE_METHODS(CMasterKey, obj)

0 commit comments

Comments
 (0)