aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-03 09:01:24 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-23 22:29:12 +0200
commitf28aec014edd29cfc669cf1c3f795c0f1e2ae7e2 (patch)
tree92c7e9e24f52b4294249b7eeee6e6e3525d1618a /src/addrman.cpp
parent7a04f3d708faab4af1f1a6aeddc5a6a4db3849a5 (diff)
Use ModifyCoins instead of mutable GetCoins.
Replace the mutable non-copying GetCoins method with a ModifyCoins, which returns an encapsulated iterator, so we can keep track of concurrent modifications (as iterators can be invalidated by those) and run cleanup code after a modification is finished. This also removes the overloading of the 'GetCoins' name.
Diffstat (limited to 'src/addrman.cpp')
0 files changed, 0 insertions, 0 deletions