diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-03-22 09:19:01 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-03-22 09:19:01 -0400 |
commit | a6b4a11385bf44e695c3e47cbd0de6e40eea0b23 (patch) | |
tree | cf0388fcb5169c85b495092e09be6af5a886a236 /src/db.h | |
parent | 0e894be626ae15f26f6f1483b38c7e9191bdb638 (diff) | |
parent | 5fee401fe14aa6459428a26a82f764db70a6a0b9 (diff) |
Merge branch 'addrman' of https://github.com/sipa/bitcoin
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |