<p>I have an address I suspect that I generated after I made a backup of <code>wallet.dat</code>, and I read about account discovery in BIP44. Does Bitcoin Core support this, and if so, how can I initiate it?</p>
<p>I’d like to restore the address to the wallet.</p>
<p>The wallet file is from 2019, and the current Bitcoin Core version I'm using is <code>0.21.0</code>.</p>
<p><code>getwalletinfo</code> output:</p>
<pre><code>{
    &quot;result&quot;: {
        &quot;walletname&quot;: &quot;main&quot;,
        &quot;walletversion&quot;: 169900,
        &quot;format&quot;: &quot;bdb&quot;,
        &quot;balance&quot;: xxx,
        &quot;unconfirmed_balance&quot;: 0,
        &quot;immature_balance&quot;: 0,
        &quot;txcount&quot;: 4,
        &quot;keypoololdest&quot;: 1615166340,
        &quot;keypoolsize&quot;: 1000,
        &quot;hdseedid&quot;: &quot;&lt;seed_id&gt;&quot;,
        &quot;keypoolsize_hd_internal&quot;: 1000,
        &quot;paytxfee&quot;: 0,
        &quot;private_keys_enabled&quot;: true,
        &quot;avoid_reuse&quot;: false,
        &quot;scanning&quot;: false,
        &quot;descriptors&quot;: false
    },
    &quot;error&quot;: null,
    &quot;id&quot;: &lt;id&gt;
}
</code></pre>

CC BY-SA 4.0
2021-03-11T20:13:54.263Z
I don't understand how the two parts of your question are related. What do you want to do with this address? What does it have to do with BIP44?
Pieter Wuille
CC BY-SA 4.0
2021-03-12T02:19:39.607Z
I’d like to find an address that is being used (has unspent outputs), but that the current wallet hasn’t derived yet. (Because it was derived after the wallet was backed up and then subsequently restored).
JBaczuk
CC BY-SA 4.0
2021-03-12T02:25:25.340Z
Well Bitcoin Core doesn't use BIP44 for deriving addresses, so that's not where you'd look. Normally you shouldn't need to do anything - Bitcoin Core contains a pool of future addresses to use (typically 1000 of them), which is included in the backup, so restoring the backup should give you access to all of those automatically, and it should show up in the balance. If not we'd probably need a bit more information, like which version are you using, how old is the wallet file; can you include the output of `getwalletinfo`?
Pieter Wuille
CC BY-SA 4.0
2021-10-20T22:31:15.170Z
What does `getaddressinfo <that address>` say?
Pieter Wuille
<bitcoin-core><bip44>
BIP44 Account Discovery using Bitcoin Core
JBaczuk
# BIP44 Account Discovery using Bitcoin Core

(Asked by: username_0 on 2021-03-11)

I have an address I suspect that I generated after I made a backup of wallet.dat, and I read about account discovery in BIP44. Does Bitcoin Core support this, and if so, how can I initiate it?
I’d like to restore the address to the wallet.
The wallet file is from 2019, and the current Bitcoin Core version I'm using is 0.21.0.
getwalletinfo output:
{
    "result": {
        "walletname": "main",
        "walletversion": 169900,
        "format": "bdb",
        "balance": xxx,
        "unconfirmed_balance": 0,
        "immature_balance": 0,
        "txcount": 4,
        "keypoololdest": 1615166340,
        "keypoolsize": 1000,
        "hdseedid": "",
        "keypoolsize_hd_internal": 1000,
        "paytxfee": 0,
        "private_keys_enabled": true,
        "avoid_reuse": false,
        "scanning": false,
        "descriptors": false
    },
    "error": null,
    "id": 
}

**Tags:** bitcoin-core, bip44

> **Comments:**
> **username_1**: I don't understand how the two parts of your question are related. What do you want to do with this address? What does it have to do with BIP44?  
> **username_0**: I’d like to find an address that is being used (has unspent outputs), but that the current wallet hasn’t derived yet. (Because it was derived after the wallet was backed up and then subsequently restored).  
> **username_1**: Well Bitcoin Core doesn't use BIP44 for deriving addresses, so that's not where you'd look. Normally you shouldn't need to do anything - Bitcoin Core contains a pool of future addresses to use (typically 1000 of them), which is included in the backup, so restoring the backup should give you access to all of those automatically, and it should show up in the balance. If not we'd probably need a bit more information, like which version are you using, how old is the wallet file; can you include the output of `getwalletinfo`?  
> **username_1**: What does `getaddressinfo <that address>` say?  

---

## 0 answers

