diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-10-03 19:03:43 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-10-03 20:09:33 +0200 |
commit | 529a4d4824136a00e63cd69831023b9c4dd6936b (patch) | |
tree | a28facc0b26511fc7370ac1dcd2b2dc84d2f5331 /src/net.cpp | |
parent | 0547b02af78dcf2d84e4905b56c7f95d9582b2f9 (diff) |
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.cpp | 10 |
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; } } } |