aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorPatick Strateman <patrick.strateman@gmail.com>2015-11-14 04:44:15 -0800
committerPatick Strateman <patrick.strateman@gmail.com>2015-11-14 04:52:21 -0800
commit4044f07d1c5eacb0ec732f1232489aa77fb7bb3b (patch)
treeeccd67aef82aaf96c07322dc51681c8e06008d91 /src/net.cpp
parentdbd2c135ddb96bdc3a4e870c2371cb1fac227135 (diff)
Add blocksonly mode
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 1ea50b2493..a62e875f83 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -460,7 +460,7 @@ void CNode::PushVersion()
else
LogPrint("net", "send version message: version %d, blocks=%d, us=%s, peer=%d\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString(), id);
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
- nLocalHostNonce, strSubVersion, nBestHeight, true);
+ nLocalHostNonce, strSubVersion, nBestHeight, !GetBoolArg("-blocksonly", false));
}