diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-01-19 12:57:56 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-01-19 12:58:15 +0100 |
| commit | 3b43cad9d0596a94b6d9d85460a4c591c485bf63 (patch) | |
| tree | 48deedd4b244082585f5c06d269e839b764238dd /src/main.cpp | |
| parent | Merge pull request #7280 (diff) | |
| parent | Do not download transactions during inital sync (diff) | |
| download | discoin-3b43cad9d0596a94b6d9d85460a4c591c485bf63.tar.xz discoin-3b43cad9d0596a94b6d9d85460a4c591c485bf63.zip | |
Merge pull request #7164: Do not download transactions during initial blockchain sync
39a525c Do not download transactions during inital sync (ptschip)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2ba2050a1..f5bf85e7c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4541,7 +4541,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, { if (fBlocksOnly) LogPrint("net", "transaction (%s) inv sent in violation of protocol peer=%d\n", inv.hash.ToString(), pfrom->id); - else if (!fAlreadyHave && !fImporting && !fReindex) + else if (!fAlreadyHave && !fImporting && !fReindex && !IsInitialBlockDownload()) pfrom->AskFor(inv); } |