aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-03-22 09:19:01 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-03-22 09:19:01 -0400
commita6b4a11385bf44e695c3e47cbd0de6e40eea0b23 (patch)
treecf0388fcb5169c85b495092e09be6af5a886a236 /src/db.h
parent0e894be626ae15f26f6f1483b38c7e9191bdb638 (diff)
parent5fee401fe14aa6459428a26a82f764db70a6a0b9 (diff)
Merge branch 'addrman' of https://github.com/sipa/bitcoin
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/db.h b/src/db.h
index 74cb5d8d5f..2a869d511b 100644
--- a/src/db.h
+++ b/src/db.h
@@ -16,6 +16,7 @@
class CAccount;
class CAccountingEntry;
class CAddress;
+class CAddrMan;
class CBlockLocator;
class CDiskBlockIndex;
class CDiskTxPos;
@@ -307,7 +308,8 @@ private:
public:
bool WriteAddress(const CAddress& addr);
bool EraseAddress(const CAddress& addr);
- bool LoadAddresses();
+ bool WriteAddrman(const CAddrMan& addr);
+ bool LoadAddresses(bool &fUpdate);
};
bool LoadAddresses();