aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-10-03 19:03:43 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-10-03 20:09:33 +0200
commit529a4d4824136a00e63cd69831023b9c4dd6936b (patch)
treea28facc0b26511fc7370ac1dcd2b2dc84d2f5331 /src/net.cpp
parent0547b02af78dcf2d84e4905b56c7f95d9582b2f9 (diff)
downloadbitcoin-529a4d4824136a00e63cd69831023b9c4dd6936b.tar.xz
remove "checkorder" and "reply" P2P commands
These command are a leftover from send-to-IP transactions, which have been removed a long time ago. Also removes CNode::mapRequests and CNode::PushRequests, as these were only used for the mentioned commands.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 7c327f5d35..a7062b4c7c 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -711,13 +711,9 @@ void ThreadSocketHandler2(void* parg)
TRY_LOCK(pnode->cs_vRecv, lockRecv);
if (lockRecv)
{
- TRY_LOCK(pnode->cs_mapRequests, lockReq);
- if (lockReq)
- {
- TRY_LOCK(pnode->cs_inventory, lockInv);
- if (lockInv)
- fDelete = true;
- }
+ TRY_LOCK(pnode->cs_inventory, lockInv);
+ if (lockInv)
+ fDelete = true;
}
}
}