mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
change default keypool size
This commit is contained in:
parent
2aef5bf45a
commit
22e34e8cd6
@ -1960,7 +1960,7 @@ bool CWallet::NewKeyPool()
|
||||
if (IsLocked())
|
||||
return false;
|
||||
|
||||
int64 nKeys = max(GetArg("-keypool", 100), (int64)0);
|
||||
int64 nKeys = max(GetArg("-keypool", 1000), (int64)0);
|
||||
for (int i = 0; i < nKeys; i++)
|
||||
{
|
||||
int64 nIndex = i+1;
|
||||
@ -1983,7 +1983,7 @@ bool CWallet::TopUpKeyPool()
|
||||
CWalletDB walletdb(strWalletFile);
|
||||
|
||||
// Top up key pool
|
||||
unsigned int nTargetSize = max(GetArg("-keypool", 100), 0LL);
|
||||
unsigned int nTargetSize = max(GetArg("-keypool", 1000), 0LL);
|
||||
while (setKeyPool.size() < (nTargetSize + 1))
|
||||
{
|
||||
int64 nEnd = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user