diff options
author | Patick Strateman <patrick.strateman@gmail.com> | 2015-11-14 04:44:15 -0800 |
---|---|---|
committer | Patick Strateman <patrick.strateman@gmail.com> | 2015-11-14 04:52:21 -0800 |
commit | 4044f07d1c5eacb0ec732f1232489aa77fb7bb3b (patch) | |
tree | eccd67aef82aaf96c07322dc51681c8e06008d91 /src/net.cpp | |
parent | dbd2c135ddb96bdc3a4e870c2371cb1fac227135 (diff) |
Add blocksonly mode
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
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)); } |