upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/db.h b/src/db.h
index 4fb5cfd..2816957 100644
--- a/src/db.h
+++ b/src/db.h
@@ -524,6 +524,17 @@ public:
524 bool LoadWallet(vector<unsigned char>& vchDefaultKeyRet); 524 bool LoadWallet(vector<unsigned char>& vchDefaultKeyRet);
525}; 525};
526 526
527class CWalletRecordVisitor
528{
529public:
530 virtual ~CWalletRecordVisitor() { }
531 virtual bool VisitWalletRecord(const CDataStream& ssKey,
532 const CDataStream& ssValue,
533 string& strErrorRet) = 0;
534};
535
536bool ScanWalletRecords(CWalletRecordVisitor& visitor, string& strErrorRet);
537
527bool LoadWallet(); 538bool 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