Fix some address-handling deadlocks
authorPieter Wuille <pieter.wuille@gmail.com>
Tue, 3 Jan 2012 00:28:15 +0000 (01:28 +0100)
committerLuke Dashjr <luke-jr+git@utopios.org>
Tue, 3 Jan 2012 01:05:58 +0000 (20:05 -0500)
commitb52b6f2e3801fe14e09d646415cb798c565063d5
treece141277c8133f0d08f672522c82016cd2c0c8ba
parent027d149352bc25f0f37363da95a0b4c723100f63
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