diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-03-26 20:17:35 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-03-26 20:22:38 +0200 |
commit | 53cb1a49e744b9ebed85bb03ccd1a241cf818d74 (patch) | |
tree | ad281935559850934b14b6ea298954c619c5d6fc /src/db.h | |
parent | 01a196e08db49d83cf6c5abd8a799c56dcfef503 (diff) |
Use erase instead of rewrite to remove old addr entries
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -306,10 +306,8 @@ private: CAddrDB(const CAddrDB&); void operator=(const CAddrDB&); public: - bool WriteAddress(const CAddress& addr); - bool EraseAddress(const CAddress& addr); bool WriteAddrman(const CAddrMan& addr); - bool LoadAddresses(bool &fUpdate); + bool LoadAddresses(); }; bool LoadAddresses(); |