diff options
| author | Suhas Daftuar <[email protected]> | 2016-07-26 16:50:48 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2016-07-26 16:50:48 -0400 |
| commit | 1de2a46632946990a7863020b61172232f8c5796 (patch) | |
| tree | 0e6206763129b73f3151287a5f738e6904d9be8a /src/main.cpp | |
| parent | Merge #8358: [doc] gbuild: Set memory explicitly (default is too low) (diff) | |
| download | discoin-1de2a46632946990a7863020b61172232f8c5796.tar.xz discoin-1de2a46632946990a7863020b61172232f8c5796.zip | |
Ignore GETBLOCKTXN requests for unknown blocks
Don't disconnect peers, or else we leak information that could be
used for fingerprinting.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 052b73932..4675127ec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5343,7 +5343,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, BlockMap::iterator it = mapBlockIndex.find(req.blockhash); if (it == mapBlockIndex.end() || !(it->second->nStatus & BLOCK_HAVE_DATA)) { - Misbehaving(pfrom->GetId(), 100); LogPrintf("Peer %d sent us a getblocktxn for a block we don't have", pfrom->id); return true; } |