Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Icon on August 01, 2016, 11:03:14 AM



Title: wallet.dat file size
Post by: Icon on August 01, 2016, 11:03:14 AM
Does a wallet.dat file grow any say after 100 transactions? I got an copy of a backup thats 88 kb, then did 1 transfer to it closed bitcoin qt and it's showing now just over 1 mb. 

Didn't think wallets could grow just have the private key in them..

Icon


PS

Just noticed when reloading the qt it loaded alot faster, although this is the first time i used core 12.1, did they do something to 12.1 to store all the index locations to make qt load faster?




Title: Re: wallet.dat file size
Post by: CIYAM on August 01, 2016, 11:06:58 AM
By default the number of keys generated in the "key pool" for the wallet is 100 so you can expect it to grow in size after 100 transactions (you should take regular backups of your wallet).

Each receiving address has its own private key (Bitcoin Core does not use a deterministic wallet).

A lot of work has gone into performance improvements in the last couple of years so indeed you should notice that.


Title: Re: wallet.dat file size
Post by: Icon on August 01, 2016, 11:10:25 AM
right if you generate any new keys :) i only have 2 wallet addresses in my wallet, no what i think has happened is that 12.1 added indexing to the wallet.dat file, meaning it doesnt take an hour now to load and reindex my wallet. Now all i need to do is make a larger truecrypt container :)

Icon



Title: Re: wallet.dat file size
Post by: shorena on August 01, 2016, 01:00:25 PM
right if you generate any new keys :) i only have 2 wallet addresses in my wallet, no what i think has happened is that 12.1 added indexing to the wallet.dat file, meaning it doesnt take an hour now to load and reindex my wallet. Now all i need to do is make a larger truecrypt container :)

Icon

Wallets also store information about transactions you received (and created). I have a wallet file with 100 private keys thats over 400 mb. That will not happen under normal circumstances (it was generated during a past spam attack on the network), but you should plan ahead for your wallet file to grow in size.


Title: Re: wallet.dat file size
Post by: Icon on August 01, 2016, 04:13:10 PM
well what ever the Core Dev's in 12.1 did the wallet loads 10000 faster now after it reindexed once and loads almost instantly now.

Icon