aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-03-26 20:17:35 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-03-26 20:22:38 +0200
commit53cb1a49e744b9ebed85bb03ccd1a241cf818d74 (patch)
treead281935559850934b14b6ea298954c619c5d6fc /src/db.h
parent01a196e08db49d83cf6c5abd8a799c56dcfef503 (diff)
Use erase instead of rewrite to remove old addr entries
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/db.h b/src/db.h
index 2a869d511b..688c390e40 100644
--- a/src/db.h
+++ b/src/db.h
@@ -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();