diff options
author | Albert <github@albert.sh> | 2020-02-28 13:46:31 +0800 |
---|---|---|
committer | Albert <github@albert.sh> | 2020-03-10 01:51:03 +0800 |
commit | c1e07423083cd2a7e3f2b28f69a573ea1837af4d (patch) | |
tree | 2ce76380506ff6d1557864f1b56ca9f67536d79f /doc | |
parent | e5d47ed8fd3724cc5295fca70573f1edf552ff62 (diff) |
doc: Warn about wallet.dat re-use and backups
See discussion in #18205 and https://github.com/bitcoin/bitcoin/pull/18219#issuecomment-594871230.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/files.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/files.md b/doc/files.md index c2296b45fa..cd23d547bb 100644 --- a/doc/files.md +++ b/doc/files.md @@ -78,6 +78,10 @@ Subdirectory | File(s) | Description 3. A wallet database path can be specified by `-wallet` option. +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. + +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. + ## GUI settings `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). |