What is saved in wallet.dat exactly?

0

As I know, wallet.dat saves all related data for a bitcoin wallet. However, I don't understand what precisely is saved in the wallet.dat. I think it must contain several private keys. Does it also contain the corresponding public key, and seed value? Anything else?

Anderson

Posted 2017-11-21T08:47:42.380

Reputation: 115

Question was closed 2017-11-23T16:53:33.420

Answers

2

The wallet.dat file contains your private keys, public keys, scripts (which correspond to addresses), key metadata (e.g. labels), and the transactions related to your wallet. If you have an HD wallet, it also includes the HD seed and and the derivation paths for each private key.

Andrew Chow

Posted 2017-11-21T08:47:42.380

Reputation: 40 910

So 'backup wallet' is actually mean 'backup wallet.dat' and 'restore in another wallet support wallet.dat format', for all circumstances. Is this correct?Anderson 2017-11-22T08:38:46.993

Yes, that is correct.Andrew Chow 2017-11-22T14:17:38.070