Bitcoin Forum
July 08, 2024, 10:55:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why does my wallet size increase over time?  (Read 517 times)
Geremia (OP)
Sr. Member
****
Offline Offline

Activity: 505
Merit: 252


View Profile WWW
July 28, 2015, 06:18:39 AM
 #1

Why does the size of the output of

bitcoin-cli backupwallet

or, equivalently, wallet.dat

increase over time?

(cf. the related Bitcoin StackExchange question.)

BTC tip jar | my BTC wiki, BTC StackExchange | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
Enzyme
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
July 28, 2015, 06:29:16 AM
 #2

I'm not too sure but I think change addresses are created every 100 transactions, therefore accounting for the increase in size.
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1001


https://gliph.me/hUF


View Profile
July 28, 2015, 08:20:20 AM
 #3


A good number of things in there that grow bigger as you use the software: https://en.bitcoin.it/wiki/Wallet

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3444
Merit: 6748


Just writing some code


View Profile WWW
July 28, 2015, 03:28:05 PM
 #4

As you use more than 100 hundred addresses, Bitcoin Core will generate another 100 address for the keypool. Generating and storing those 100 new keys will of course take up some extra space. If you are doing Bitcoin transactions with the principle one input one output, then you will have to generate 100 new addresses after 100 transactions.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
July 28, 2015, 05:14:30 PM
 #5

As you use more than 100 hundred addresses, Bitcoin Core will generate another 100 address for the keypool. Generating and storing those 100 new keys will of course take up some extra space. If you are doing Bitcoin transactions with the principle one input one output, then you will have to generate 100 new addresses after 100 transactions.

Private keys for the keypool are not created in patches of 100, they are created whenever possible (wallet is unlocked) to match the requested (either per default or config) keypool size. IIRC getwalletinfo shows how many unused keys are currently available. You will notice that this number is almost never below 100 unless you spam the "New" button.

Im not really here, its just your imagination.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!