upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBitflash <admin@bitflash.network>2026-08-14 16:06:39 -0300
committerBitflash <admin@bitflash.network>2026-08-14 16:06:39 -0300
commit25b1eb8e17bb4012a59166667c7e37564a2af939 (patch)
tree0cf369cd3e1c59eca068cc05561dd59c21bf7b49 /docs
parentc08a32d26cabf5acc9dabf298a22051596308174 (diff)
parent59b9d11015f0e3a2475d0750fc534583c2ca9f77 (diff)
Merge pull request 'wallet: export BDB records to SQLite' (#48) from wallet-sqlite-migration into main
Diffstat (limited to 'docs')
-rw-r--r--docs/storage.md6
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,
104raw record write/read, close/reopen behavior, and value preservation before any 104raw record write/read, close/reopen behavior, and value preservation before any
105BDB-to-SQLite migration or runtime backend flag exists. 105BDB-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
109value bytes into the SQLite table inside one transaction. It refuses to
110overwrite an existing export and still does not change the runtime wallet
111backend.
112
107## `blkindex.dat` 113## `blkindex.dat`
108 114
109`blkindex.dat` is accessed through `CTxDB`. 115`blkindex.dat` is accessed through `CTxDB`.