diff options
| author | Bitflash <admin@bitflash.network> | 2026-08-14 16:26:51 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-14 16:26:51 -0300 |
| commit | 0c58896a045246c3518d5d379f217172defdfd91 (patch) | |
| tree | 37d252761127383f5f8eab98a0e57f33605e1fc0 /src/wallet_sqlite.h | |
| parent | 25b1eb8e17bb4012a59166667c7e37564a2af939 (diff) | |
| parent | df84b82162b38dcd57114510b9651af5d85f04cb (diff) | |
Merge pull request 'wallet: scan SQLite wallet records' (#49) from wallet-sqlite-scan into main
Diffstat (limited to 'src/wallet_sqlite.h')
| -rw-r--r-- | src/wallet_sqlite.h | 3 |
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 | ||
| 9 | class CWalletRecordVisitor; | ||
| 10 | |||
| 9 | class CWalletDBSQLite | 11 | class CWalletDBSQLite |
| 10 | { | 12 | { |
| 11 | public: | 13 | public: |
| @@ -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 | ||
| 31 | private: | 34 | private: |