Fix some address-handling deadlocks
authorPieter Wuille <pieter.wuille@gmail.com>
Tue, 3 Jan 2012 00:28:15 +0000 (01:28 +0100)
committerPieter Wuille <pieter.wuille@gmail.com>
Tue, 3 Jan 2012 01:01:56 +0000 (02:01 +0100)
commita75d7066b824eb1e70fb5b0e0e7c3c122e00c4b6
tree015258f1f9fa32724ab7b9a19d87da9e5c285b85
parent625b56de6491170ad6a2e45c57d974fca6160750
Fix some address-handling deadlocks

Made three critical blocks for cs_mapAddresses smaller, and moved
writing to the database out of them. This should also improve the
concurrency of the code.
src/net.cpp