Questions tagged [keypool]

28 questions
13
votes
1 answer

How many addresses does my wallet.dat contain? Do I need to make a new backup every time I make a transaction?

I'm having little problem here, trying to figure out the safest way to backup my wallet.dat to make sure that no BTC may be lost in case of recovery. I'm not sure how the process of adding new addresses may affect a, say, a recently created…
Dhuum
  • 239
  • 3
  • 10
7
votes
1 answer

Key Pools and best practices

I'm wondering about what the best practices are around generating and maintaining key pools for a wallet. What is the maximum number of keys/addresses that can be created for a single wallet? Phrased another way, what is the largest value one can…
Loourr
  • 3,050
  • 4
  • 17
  • 35
6
votes
2 answers

Do keypool keys from an unencrypted wallet backup become unusable once I encrypt my wallet?

I'm a little confused by this, which i found in the technical documention: When wallet passphrase enrcyption becomes enabled, any unused keys from the keypool are flushed (marked as used) and new keys protected with encyption are added. For…
noobStuff
  • 61
  • 1
6
votes
3 answers

Why can't I connect to bitcoind on localhost?

The initial question asked was as follows, but it turned out to be nothing to do with keypools: I had keypool=1000 before. Now I started bitcoind (the daemon version) with keypool=10000 option, and it is 2 hours already and bitcoind didn't…
ria
  • 702
  • 4
  • 16
6
votes
1 answer

What happens when an encrypted wallet runs out of keys?

Say someone wanted to be evil to the main client and set its wallet to contain one key, lock it, and then start mining. After the first block was generated, the client would traditionally create a new key to use for mining and store it in a wallet.…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
5
votes
1 answer

Once a wallet file is initially created, does the reference client generate additional private keys?

I'm just assuming that the wallet.dat file created by the reference client contains just one private key. (Correct me if I'm wrong here) I want to know if the client generates additional private keys and if so, under what circumstances? Does a…
smickles
  • 440
  • 2
  • 8
5
votes
3 answers

should i call keypoolrefill or it's refilled automatically?

As far as i know that key pool gets refilled automatically with each address taken out of it. Why should i use keypoolrefill then ? What's the benefit of this command ?
Farghaly
  • 873
  • 7
  • 19
5
votes
1 answer

Bitcoind Keypool Best Practices For Web App

I'm creating a web application where many, many transactions will take place in a day. I have the bitcoin daemon running on a VPS and talking to my web app via JSON-RPC. The users on my website will be generating many different addresses and…
seeARMS
  • 151
  • 3
4
votes
1 answer

Can I have multiple working public keys per wallet?

My Android Bitcoin wallet changes the Public key (the one I give to others) after every transaction for security. However, I want to put up a Public key online for donations. Does this mean that my one wallet has multiple public keys (and I keep…
user30419
  • 41
  • 1
4
votes
1 answer

What are the contents of the wallet.dat file? What is Key pool, default key and reserve keys?

There is this https://en.bitcoin.it/wiki/Wallet simple explanation of the contents of a wallet.dat file from bitcoin-core/bitcoin-qt. I have some questions about this: What is the default key? Does this refer to the address is use by default for…
erik
  • 587
  • 4
  • 14
3
votes
2 answers

How does an encrypted wallet persist used keys from "getnewaddress" and the keypool after a restart?

I'm reading this wiki on wallet encryption and am confused on how I can call getnewaddress as described here and where that is being tracked after a restart of bitcoind. When a wallet is encrypted, the passphrase is required to top up the …
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
3
votes
2 answers

What does the keypoololdest field mean?

After reading this question I watched the keypoololdest. It was 1392447127 (Sat, 15 Feb 2014 06:52:07 GMT) I created a new address. Then, it was 1392449568 (Sat, 15 Feb 2014 07:32:48 GMT) Should the time change to be today at the moment of…
Mohamed Farrag
  • 217
  • 2
  • 8
3
votes
3 answers

How do I flush the keypool?

After the heartbleed vulnerability, I'm concerned that my private keys could have been compromised. I want to send all my coins to a new address with a freshly generated key. However, if I just ask the Bitcoin Core client to generate a new address,…
Nate Eldredge
  • 22,970
  • 3
  • 39
  • 80
3
votes
2 answers

What situations will you lose your bitcoins during backup?

I read this paragraph from bitcoin.it but I don't get it completely. The wallet contains a pool of queued keys. By default there are 100 keys in the key pool. The size of the pool is configurable using the "-keypool" command line argument. When…
3
votes
2 answers

Key pool in wallet softwares

From my understanding, bitcoind/bitcoin-qt uses a key pool for their wallet, so when you create a wallet you are actually creating not just one but many addresses for sending/receiving transactions. How about multibit or electrum? Do they also use…
k kurokawa
  • 2,072
  • 14
  • 28
1
2