<p>Yes, that is a wallet feature. You would have to recompile without the <code>--disable-wallet</code> flag, starting back at executing the autotools configure script: <code>./configure</code>. See <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#disable-wallet-mode" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#disable-wallet-mode</a>.</p>

<p>You also have to make sure you don't set the <code>-disablewallet</code> flag when you run <code>bitcoind</code> or have it in your <code>bitcoin.conf</code> file.</p>

<p>If you need to recompile, you could still back up the data in the <code>.bitcoin</code> folder, which includes the blockchain and UTXO set and copy it back over when the installation is complete. That way you don't have to download the blockchain again.</p>

CC BY-SA 4.0
2018-08-23T16:35:28.963Z
hmm disablewallet is a setting in my bitcoin.config. after setting it to 0, how do i 'recompile' it ?  there was no strict compilation process when i set it up
Sonic Soul
CC BY-SA 4.0
2018-08-23T16:41:06.540Z
`-disablewallet` is a runtime flag, which is different than the `--disable-wallet` compile flag. So did you compile it or not? Did you run `./configure --disable-wallet` when you first set it up? Instructions to compile are here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
JBaczuk
CC BY-SA 4.0
2018-08-23T16:42:02.147Z
also not sure what ./configure refers to.. i don't have that dir..
Sonic Soul
CC BY-SA 4.0
2018-08-23T16:43:20.170Z
in installed with *apt-get install bitcoind*
Sonic Soul
CC BY-SA 4.0
2018-08-23T16:43:21.530Z
That is autotools configure script, it scans your machine for dependencies and configures the build process.
JBaczuk
CC BY-SA 4.0
2018-08-23T16:46:20.040Z
Oh ok, so you didn't compile. Just remove the`disablewallet` line in bitcoin.conf and restart bitcoin `$ bitcoin-cli stop` then `$bitcoind -daemon` and see if it has the wallet functionality.
JBaczuk
CC BY-SA 4.0
2018-08-23T16:48:33.963Z
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/82142/discussion-between-jbaczuk-and-sonic-soul).
JBaczuk
CC BY-SA 4.0
2018-08-23T13:14:23.833Z
2018-08-23T17:11:01.777Z
2018-08-23T17:11:01.777Z
JBaczuk
<p>I installed/compiled my Bitcoin Core RPC client version v0.16.2.0 and i used --disable-wallet flag. </p>

<p><strong><em>I think this is the reason I am seeing "Method not found" errors when trying to GetNewAddress</em></strong></p>

<p>how can i install/enable it after having fully confirmed node with up to date blockchain? </p>

<p>os: Ubuntu 16.04.5 </p>

<p><strong>solution</strong> </p>

<p>accepted the answer below but in my case since i set it up sing <em>apt-install bitcoind</em> the wallet feature was already there, i just needed to flip the disablewallet=1 flag in my bitcoin.config </p>

<bitcoin-core><wallet><bitcoin-cli>
how to enable wallet in a confirmed node
Sonic Soul
# how to enable wallet in a confirmed node

(Asked by: username_0 on 2018-08-23)

I installed/compiled my Bitcoin Core RPC client version v0.16.2.0 and i used --disable-wallet flag.

***I think this is the reason I am seeing "Method not found" errors when trying to GetNewAddress***

how can i install/enable it after having fully confirmed node with up to date blockchain?

os: Ubuntu 16.04.5

**solution**

accepted the answer below but in my case since i set it up sing *apt-install bitcoind* the wallet feature was already there, i just needed to flip the disablewallet=1 flag in my bitcoin.config

**Tags:** bitcoin-core, wallet, bitcoin-cli


---

## 1 answers

### Answer by username_1 on 2018-08-23. Score: 4 | Accepted answer

Yes, that is a wallet feature. You would have to recompile without the `--disable-wallet` flag, starting back at executing the autotools configure script: `./configure`. See <https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#disable-wallet-mode>.

You also have to make sure you don't set the `-disablewallet` flag when you run `bitcoind` or have it in your `bitcoin.conf` file.

If you need to recompile, you could still back up the data in the `.bitcoin` folder, which includes the blockchain and UTXO set and copy it back over when the installation is complete. That way you don't have to download the blockchain again.

> **Comments:**
> **username_0**: hmm disablewallet is a setting in my bitcoin.config. after setting it to 0, how do i 'recompile' it ?  there was no strict compilation process when i set it up  
> **username_1**: `-disablewallet` is a runtime flag, which is different than the `--disable-wallet` compile flag. So did you compile it or not? Did you run `./configure --disable-wallet` when you first set it up? Instructions to compile are here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md  
> **username_0**: also not sure what ./configure refers to.. i don't have that dir..  
> **username_0**: in installed with *apt-get install bitcoind*  
> **username_1**: That is autotools configure script, it scans your machine for dependencies and configures the build process.  
> **username_1**: Oh ok, so you didn't compile. Just remove the`disablewallet` line in bitcoin.conf and restart bitcoin `$ bitcoin-cli stop` then `$bitcoind -daemon` and see if it has the wallet functionality.  
> **username_1**: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/82142/discussion-between-jbaczuk-and-sonic-soul).  

---

