diff options
Diffstat (limited to 'src/db.h')
| -rw-r--r-- | src/db.h | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -524,6 +524,17 @@ public: | |||
| 524 | bool LoadWallet(vector<unsigned char>& vchDefaultKeyRet); | 524 | bool LoadWallet(vector<unsigned char>& vchDefaultKeyRet); |
| 525 | }; | 525 | }; |
| 526 | 526 | ||
| 527 | class CWalletRecordVisitor | ||
| 528 | { | ||
| 529 | public: | ||
| 530 | virtual ~CWalletRecordVisitor() { } | ||
| 531 | virtual bool VisitWalletRecord(const CDataStream& ssKey, | ||
| 532 | const CDataStream& ssValue, | ||
| 533 | string& strErrorRet) = 0; | ||
| 534 | }; | ||
| 535 | |||
| 536 | bool ScanWalletRecords(CWalletRecordVisitor& visitor, string& strErrorRet); | ||
| 537 | |||
| 527 | bool LoadWallet(); | 538 | bool LoadWallet(); |
| 528 | 539 | ||
| 529 | // Writes a wallet.dat that opens on its own, anywhere -- see the definition in | 540 | // Writes a wallet.dat that opens on its own, anywhere -- see the definition in |