diff options
| author | Pieter Wuille <[email protected]> | 2012-04-15 22:10:54 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-04-17 20:00:55 +0200 |
| commit | ed6d0b5f852dc5f1c9407abecb5a9c6a7e42b4b2 (patch) | |
| tree | 763b840f2619af642469d3894b88b682134f4425 /src/db.h | |
| parent | Merge pull request #1106 from jgarzik/sign-compare (diff) | |
| download | discoin-ed6d0b5f852dc5f1c9407abecb5a9c6a7e42b4b2.tar.xz discoin-ed6d0b5f852dc5f1c9407abecb5a9c6a7e42b4b2.zip | |
Remove headers.h
Diffstat (limited to 'src/db.h')
| -rw-r--r-- | src/db.h | 30 |
1 files changed, 2 insertions, 28 deletions
@@ -6,6 +6,8 @@ #define BITCOIN_DB_H #include "key.h" +#include "main.h" +#include "wallet.h" #include <map> #include <string> @@ -313,34 +315,6 @@ public: bool LoadAddresses(); -/** A key pool entry */ -class CKeyPool -{ -public: - int64 nTime; - std::vector<unsigned char> vchPubKey; - - CKeyPool() - { - nTime = GetTime(); - } - - CKeyPool(const std::vector<unsigned char>& vchPubKeyIn) - { - nTime = GetTime(); - vchPubKey = vchPubKeyIn; - } - - IMPLEMENT_SERIALIZE - ( - if (!(nType & SER_GETHASH)) - READWRITE(nVersion); - READWRITE(nTime); - READWRITE(vchPubKey); - ) -}; - - /** Error statuses for the wallet database */ enum DBErrors |