mirror of https://github.com/zcash/zips.git
Clarity around wallet.dat migrations between zcashd instances
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
5929112c4d
commit
335f9d0a69
|
@ -29,7 +29,7 @@ Specification
|
|||
=============
|
||||
|
||||
Zcash stores wallet information in a Berkeley database (BDB) [#BDB]_ commonly known as ``wallet.dat``.
|
||||
The main purpose of this is the persistence of public and private keys the user created and the ability to recover the wallet state after a node restart. This file also allows the migration of user information from one node to another by moving the database to the corresponding new datadir assuming both zcashd instances are running the same or similar version.
|
||||
The main purpose of this is the persistence of public and private keys the user created and the ability to recover the wallet state after a node restart. This file also allows the migration of user information from one node to another by moving the database to the corresponding new data directory, assuming both zcashd instances are running the same or similar version. A re-index may be necessary after this operation.
|
||||
|
||||
The current database is a key-value store where keys and values can have multiple data types in binary format. The first data found in a database key is always the property name, the rest of the key is generally used to identify a record, for example::
|
||||
|
||||
|
|
Loading…
Reference in New Issue