diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-15 04:03:07 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-15 04:03:07 +0000 |
commit | 5253d1ab77fab1995ede03fb934edd67f1359ba8 (patch) | |
tree | fd29f92dd45891aab4d1bc6103bb886971a29523 /net.cpp | |
parent | 64a474a49b20a66453fbcd2382e4b042427b0a0f (diff) |
strip out unfinished product, review and market stuff,
enable _() instead of wxT() in uiproject.fbp so it uses wxGetTranslation for the wxFormBuilder generated part of the UI
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@64 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'net.cpp')
-rw-r--r-- | net.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -381,11 +381,6 @@ void CNode::CancelSubscribe(unsigned int nChannel) foreach(CNode* pnode, vNodes)
if (pnode != this)
pnode->PushMessage("sub-cancel", nChannel);
-
- // Clear memory, no longer subscribed
- if (nChannel == MSG_PRODUCT)
- CRITICAL_BLOCK(cs_mapProducts)
- mapProducts.clear();
}
}
@@ -497,10 +492,6 @@ void CNode::Cleanup() // All of a nodes broadcasts and subscriptions are automatically torn down
// when it goes down, so a node has to stay up to keep its broadcast going.
- CRITICAL_BLOCK(cs_mapProducts)
- for (map<uint256, CProduct>::iterator mi = mapProducts.begin(); mi != mapProducts.end();)
- AdvertRemoveSource(this, MSG_PRODUCT, 0, (*(mi++)).second);
-
// Cancel subscriptions
for (unsigned int nChannel = 0; nChannel < vfSubscribe.size(); nChannel++)
if (vfSubscribe[nChannel])
|