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
Josh Wilcox
crown-core
Commits
892a13ea
Commit
892a13ea
authored
10 years ago
by
vertoe
Browse files
Options
Download
Email Patches
Plain Diff
Update protocol versions
parent
4e872687
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
TODO.md
+1
-1
TODO.md
src/clientversion.h
+1
-1
src/clientversion.h
src/version.cpp
+4
-3
src/version.cpp
src/version.h
+4
-3
src/version.h
with
10 additions
and
8 deletions
+10
-8
TODO.md
View file @
892a13ea
...
...
@@ -8,12 +8,12 @@ DONE:
-----
-
Strings in config, path and pid (~/.bitcoin --> ~/.darkcoin)
-
Ports for communication and RPC (8333 --> 9999; 8332 --> 9998)
MUST-HAVE:
----------
-
Ports for communication and RPC (8333 --> 9999; 8332 --> 9998)
-
Version numbers, protocol version, wallet version (compatible with DRK network)
-
Adress versions (Public keys, Multisig keys)
-
Adjust algorithm (SHA256 --> X11)
...
...
This diff is collapsed.
Click to expand it.
src/clientversion.h
View file @
892a13ea
...
...
@@ -8,7 +8,7 @@
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and
bit
coin-qt.rc's voodoo requires it
// These need to be macros, as version.cpp's and
dark
coin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 9
#define CLIENT_VERSION_REVISION 3
...
...
This diff is collapsed.
Click to expand it.
src/version.cpp
View file @
892a13ea
// Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2012-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.
...
...
@@ -7,9 +8,9 @@
#include <string>
// Name of client reported in the 'version' message. Report the same name
// for both
bit
coind and
bit
coin-qt, to make it harder for attackers to
// for both
dark
coind and
dark
coin-qt, to make it harder for attackers to
// target servers or GUI users specifically.
const
std
::
string
CLIENT_NAME
(
"
Satoshi
"
);
const
std
::
string
CLIENT_NAME
(
"
Duffield
"
);
// Client version number
#define CLIENT_VERSION_SUFFIX "-beta"
...
...
This diff is collapsed.
Click to expand it.
src/version.h
View file @
892a13ea
// Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2012-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.
#ifndef BITCOIN_VERSION_H
...
...
@@ -26,13 +27,13 @@ extern const std::string CLIENT_DATE;
// network protocol versioning
//
static
const
int
PROTOCOL_VERSION
=
700
02
;
static
const
int
PROTOCOL_VERSION
=
700
46
;
// intial proto version, to be increased after version/verack negotiation
static
const
int
INIT_PROTO_VERSION
=
209
;
// disconnect from peers older than this proto version
static
const
int
MIN_PEER_PROTO_VERSION
=
209
;
static
const
int
MIN_PEER_PROTO_VERSION
=
70043
;
// nTime field added to CAddress, starting with this version;
// if possible, avoid requesting addresses nodes older than this
...
...
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