aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@chaincode.com>2016-07-26 16:50:48 -0400
committerSuhas Daftuar <sdaftuar@chaincode.com>2016-07-26 16:50:48 -0400
commit1de2a46632946990a7863020b61172232f8c5796 (patch)
tree0e6206763129b73f3151287a5f738e6904d9be8a /src
parentbeadffae6d6599c2e75d0fb09d904ac10276e25a (diff)
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')
-rw-r--r--src/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 052b739326..4675127ec3 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;
}