Skip to content
GitLab
Menu
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
83e80e3c
Commit
83e80e3c
authored
7 years ago
by
Ashot
Browse files
Options
Download
Email Patches
Plain Diff
Changed transition time - GMT: Sunday, April 1, 2018 12:00:00 AM
parent
2ca07160
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.cpp
+2
-1
src/main.cpp
with
2 additions
and
1 deletion
+2
-1
src/main.cpp
View file @
83e80e3c
...
...
@@ -4402,9 +4402,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
CAddress addrFrom;
uint64_t nNonce = 1;
vRecv >> pfrom->nVersion >> pfrom->nServices >> nTime >> addrMe;
if (nTime >15
11135999
&& pfrom->nVersion < MIN_PEER_PROTO_VERSION)
if (nTime >
15
22540800
&& pfrom->nVersion < MIN_PEER_PROTO_VERSION)
{
// disconnect from peers older than this proto version
// Sunday, April 1, 2018 12:00:00 AM
LogPrintf("peer=%d using obsolete version %i; disconnecting\n", pfrom->id, pfrom->nVersion);
pfrom->PushMessage("reject", strCommand, REJECT_OBSOLETE,
strprintf("Version must be %d or greater", MIN_PEER_PROTO_VERSION));
...
...
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