upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/wallet_sqlite.h
diff options
context:
space:
mode:
authorNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-14 16:20:41 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-14 16:20:41 -0300
commitdf84b82162b38dcd57114510b9651af5d85f04cb (patch)
tree37d252761127383f5f8eab98a0e57f33605e1fc0 /src/wallet_sqlite.h
parent25b1eb8e17bb4012a59166667c7e37564a2af939 (diff)
wallet: scan SQLite wallet records
Diffstat (limited to 'src/wallet_sqlite.h')
-rw-r--r--src/wallet_sqlite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet_sqlite.h b/src/wallet_sqlite.h
index 5ef862d..385a340 100644
--- a/src/wallet_sqlite.h
+++ b/src/wallet_sqlite.h
@@ -6,6 +6,8 @@
6 6
7#include <sqlite3.h> 7#include <sqlite3.h>
8 8
9class CWalletRecordVisitor;
10
9class CWalletDBSQLite 11class CWalletDBSQLite
10{ 12{
11public: 13public:
@@ -26,6 +28,7 @@ public:
26 bool ReadRecord(const vector<unsigned char>& vchKey, 28 bool ReadRecord(const vector<unsigned char>& vchKey,
27 vector<unsigned char>& vchValueRet, 29 vector<unsigned char>& vchValueRet,
28 string& strError); 30 string& strError);
31 bool ScanRecords(CWalletRecordVisitor& visitor, string& strError);
29 bool CountRecords(int& nRecordsRet, string& strError); 32 bool CountRecords(int& nRecordsRet, string& strError);
30 33
31private: 34private: