From 335f9d0a6907792fe34d07e15630cf76a9ca3b5a Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Wed, 12 Aug 2020 12:39:31 -0400 Subject: [PATCH] Clarity around wallet.dat migrations between zcashd instances Co-authored-by: Daira Hopwood --- zip-0400.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zip-0400.rst b/zip-0400.rst index eb0ee569..e1b644d9 100644 --- a/zip-0400.rst +++ b/zip-0400.rst @@ -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::