<p>Finally found it:</p>

<pre><code># Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions.
#keypool=100
</code></pre>

CC BY-SA 3.0
2017-04-03T17:46:03.607Z
2017-04-03T17:46:03.607Z
Adam Matan
<p>Is there a way to configure the number of keypairs (or addresses) created by <code>bitcoind</code> or <code>bitcoin-qt</code>?</p>

<p>I've looked at the <a href="https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File" rel="nofollow noreferrer">sample <code>bitcoin.conf</code> file</a>, but failed to find the relevant parameter.</p>

CC BY-SA 3.0
2017-04-03T17:44:53.267Z
You get a new keypair for each address. There is nothing to configure.
Pieter Wuille
<bitcoin.conf>
Set the number of keys/addresses in a wallet
Adam Matan
# Set the number of keys/addresses in a wallet

(Asked by: username_0 on 2017-04-03)

Is there a way to configure the number of keypairs (or addresses) created by `bitcoind` or `bitcoin-qt`?

I've looked at the [sample `bitcoin.conf` file](https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File), but failed to find the relevant parameter.

**Tags:** bitcoin.conf

> **Comments:**
> **username_1**: You get a new keypair for each address. There is nothing to configure.  

---

## 1 answers

### Answer by username_0 on 2017-04-03. Score: 1

Finally found it:

```
# Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions.
#keypool=100

```


---

