diff options
| author | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-14 15:56:12 -0300 |
|---|---|---|
| committer | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-14 15:56:12 -0300 |
| commit | 59b9d11015f0e3a2475d0750fc534583c2ca9f77 (patch) | |
| tree | 0cf369cd3e1c59eca068cc05561dd59c21bf7b49 /docs | |
| parent | c08a32d26cabf5acc9dabf298a22051596308174 (diff) | |
wallet: export BDB records to SQLite
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/storage.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/storage.md b/docs/storage.md index f75f9b9..bb414b5 100644 --- a/docs/storage.md +++ b/docs/storage.md | |||
| @@ -104,6 +104,12 @@ runtime wallet still opens Berkeley DB. The purpose is to prove schema creation, | |||
| 104 | raw record write/read, close/reopen behavior, and value preservation before any | 104 | raw record write/read, close/reopen behavior, and value preservation before any |
| 105 | BDB-to-SQLite migration or runtime backend flag exists. | 105 | BDB-to-SQLite migration or runtime backend flag exists. |
| 106 | 106 | ||
| 107 | `-walletsqliteexport=FILE` is the next staging tool. It streams every raw | ||
| 108 | `wallet.dat` record through `ScanWalletRecords()` and writes those same key and | ||
| 109 | value bytes into the SQLite table inside one transaction. It refuses to | ||
| 110 | overwrite an existing export and still does not change the runtime wallet | ||
| 111 | backend. | ||
| 112 | |||
| 107 | ## `blkindex.dat` | 113 | ## `blkindex.dat` |
| 108 | 114 | ||
| 109 | `blkindex.dat` is accessed through `CTxDB`. | 115 | `blkindex.dat` is accessed through `CTxDB`. |