<p>Set the two flags independently. </p>

<p>ie, <code>-debug=bench -debug=net</code></p>

CC BY-SA 4.0
2019-05-23T12:49:33.060Z
2019-05-23T12:49:33.060Z
Claris
<p>I have a bitcoind server running bitcoin-core <strong>version 0.17</strong>. Now since I need to use deprecated RPC methods I need to start the bitcoind server in deprecated mode, so I am already able to run it to support the accounts rpc methods by running the following command</p>

<pre><code>bitcoind -deprecatedrpc=accounts
</code></pre>

<p>However, I found that <code>signrawtransaction</code> has also been deprecated, so I ran the bitcoind server with the following command :</p>

<pre><code>bitcoind -deprecatedrpc=accounts,signrawtransaction
</code></pre>

<p>The server started successfully, however I was still getting this error :</p>

<pre><code>"signrawtransaction is deprecated and will be fully removed in v0.18. To use signrawtransaction in v0.17, restart bitcoind with -deprecatedrpc=signrawtransaction.\nProjects should transition to using signrawtransactionwithkey and signrawtransactionwithwallet before upgrading to v0.18"
</code></pre>

<p>So I started the server again with the following command :</p>

<pre><code>bitcoind -deprecatedrpc=signrawtransaction
</code></pre>

<p>And this time the transaction went through, however I need to start the bitcoind server to support both the deprecated methods. How can I do that?</p>

<bitcoin-core><bitcoind><bitcoin-core-development>
How do I start a bitcoind server in deprecated mode for multiple functions
Paras
# How do I start a bitcoind server in deprecated mode for multiple functions

(Asked by: username_0 on 2019-05-23)

I have a bitcoind server running bitcoin-core version 0.17. Now since I need to use deprecated RPC methods I need to start the bitcoind server in deprecated mode, so I am already able to run it to support the accounts rpc methods by running the following command
bitcoind -deprecatedrpc=accounts

However, I found that signrawtransaction has also been deprecated, so I ran the bitcoind server with the following command :
bitcoind -deprecatedrpc=accounts,signrawtransaction

The server started successfully, however I was still getting this error :
"signrawtransaction is deprecated and will be fully removed in v0.18. To use signrawtransaction in v0.17, restart bitcoind with -deprecatedrpc=signrawtransaction.\nProjects should transition to using signrawtransactionwithkey and signrawtransactionwithwallet before upgrading to v0.18"

So I started the server again with the following command :
bitcoind -deprecatedrpc=signrawtransaction

And this time the transaction went through, however I need to start the bitcoind server to support both the deprecated methods. How can I do that?

**Tags:** bitcoin-core, bitcoind, bitcoin-core-development


---

## 1 answers

### Answer by username_1 on 2019-05-23. Score: 0 | Accepted answer

Set the two flags independently.

ie, `-debug=bench -debug=net`


---

