Skip to content

Commit c1e0742

Browse files
committed
doc: Warn about wallet.dat re-use and backups
See discussion in bitcoin#18205 and bitcoin#18219 (comment).
1 parent e5d47ed commit c1e0742

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/files.md

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Subdirectory | File(s) | Description
7878

7979
3. A wallet database path can be specified by `-wallet` option.
8080

81+
4. `wallet.dat` files must not be shared across different node instances, as that can result in key-reuse and double-spends due the lack of synchronization between instances.
82+
83+
5. Any copy or backup of the wallet should be done through a `backupwallet` call in order to update and lock the wallet, preventing any file corruption caused by updates during the copy.
84+
8185
## GUI settings
8286

8387
`bitcoin-qt` uses [`QSettings`](https://doc.qt.io/qt-5/qsettings.html) class; this implies platform-specific [locations where application settings are stored](https://doc.qt.io/qt-5/qsettings.html#locations-where-application-settings-are-stored).

0 commit comments

Comments
 (0)