Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vidaru
crown-core
Commits
9523001e
Commit
9523001e
authored
10 years ago
by
vertoe
Browse files
Options
Download
Email Patches
Plain Diff
Bump client and wallet version.
parent
a8b6a3a8
master
89-merge-0.11-1st-stage
89-merge-bitcoin-latest-changes-0.10
Current-dev
DNSSeeds
add-testnet-option-to-script
bitcore
calculate-score-unit-tests
connect-to-docker-delivery-pipeline
fix-dash-copyright-violations
make-instant-send-default
setup-script-edits
test-other-gitlab-runner-branch-to-be-deleted-if-completes
v0.12.4.1
v0.12.4.0
v0.12.2.0
v0.12.1.0
v0.12.0.61
bitcore-bin-005
bitcore-bin-004
bitcore-bin-003
bitcore-bin-002
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
TODO.md
+3
-2
TODO.md
src/clientversion.h
+2
-2
src/clientversion.h
src/wallet.cpp
+6
-2
src/wallet.cpp
src/wallet.h
+1
-1
src/wallet.h
with
12 additions
and
7 deletions
+12
-7
TODO.md
View file @
9523001e
...
...
@@ -15,14 +15,15 @@ DONE:
-
Changed genesisblockhash and timestamp
-
Reviewed and updated checkpoints
-
Adjusted algorithm (X11)
-
Updated subsidity function (Block value)
-
Adjusted wallet keypool size to 1000 and added loading indicator on fresh wallet load
MUST-HAVE:
----------
-
Adjust difficulty
/subsidity
(KGW, DGW based on blockheight)
-
Adjust difficulty (KGW, DGW based on blockheight)
-
Add masternode payment checks a.k.a. enforcement (based on blockheight)
-
Adjust wallet keypool size and add loading indicator on fresh wallet
-
Remove Bitcoin dead weight (SHA256, hardcoded keys, nodes)
...
...
This diff is collapsed.
Click to expand it.
src/clientversion.h
View file @
9523001e
...
...
@@ -10,8 +10,8 @@
// These need to be macros, as version.cpp's and darkcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR
9
#define CLIENT_VERSION_REVISION
3
#define CLIENT_VERSION_MINOR
11
#define CLIENT_VERSION_REVISION
0
#define CLIENT_VERSION_BUILD 0
// Set to true for release, false for prerelease or test build
...
...
This diff is collapsed.
Click to expand it.
src/wallet.cpp
View file @
9523001e
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
...
...
@@ -1617,7 +1618,7 @@ bool CWallet::NewKeyPool()
if
(
IsLocked
())
return
false
;
int64_t
nKeys
=
max
(
GetArg
(
"-keypool"
,
100
),
(
int64_t
)
0
);
int64_t
nKeys
=
max
(
GetArg
(
"-keypool"
,
100
0
),
(
int64_t
)
0
);
for
(
int
i
=
0
;
i
<
nKeys
;
i
++
)
{
int64_t
nIndex
=
i
+
1
;
...
...
@@ -1644,7 +1645,7 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
if
(
kpSize
>
0
)
nTargetSize
=
kpSize
;
else
nTargetSize
=
max
(
GetArg
(
"-keypool"
,
100
),
(
int64_t
)
0
);
nTargetSize
=
max
(
GetArg
(
"-keypool"
,
100
0
),
(
int64_t
)
0
);
while
(
setKeyPool
.
size
()
<
(
nTargetSize
+
1
))
{
...
...
@@ -1655,6 +1656,9 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
throw
runtime_error
(
"TopUpKeyPool() : writing generated key failed"
);
setKeyPool
.
insert
(
nEnd
);
LogPrintf
(
"keypool added key %d, size=%u
\n
"
,
nEnd
,
setKeyPool
.
size
());
std
::
string
strMsg
=
strprintf
(
_
(
"Loading wallet... (Generating keys %d/1000)"
),
nEnd
);
uiInterface
.
InitMessage
(
strMsg
);
}
}
return
true
;
...
...
This diff is collapsed.
Click to expand it.
src/wallet.h
View file @
9523001e
...
...
@@ -47,7 +47,7 @@ enum WalletFeature
FEATURE_WALLETCRYPT
=
40000
,
// wallet encryption
FEATURE_COMPRPUBKEY
=
60000
,
// compressed public keys
FEATURE_LATEST
=
6000
0
FEATURE_LATEST
=
6000
2
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help