<p>I have downloaded and fully synced with my Mac last Saturday, my Bitcoin Core version is v0.21.0 and my Bitcoin-Qt version 5.9.8.</p>
<p>I did run other RPC commands such as &quot;getrpcinfo&quot; and it did provide result:</p>
<p>{
&quot;active_commands&quot;: [
{
&quot;method&quot;: &quot;getrpcinfo&quot;,
&quot;duration&quot;: 72
}
],
&quot;logpath&quot;: &quot;/Users/jsjs77/Library/Application Support/Bitcoin/debug.log&quot;
}</p>
<p>&quot;getbalance&quot; -
￼
{
&quot;mine&quot;: {
&quot;trusted&quot;: 0.00000000,
&quot;untrusted_pending&quot;: 0.00000000,
&quot;immature&quot;: 0.00000000
}
}</p>
<p>But then, when I want to run this &quot;generatetoaddress nblocks &quot;address&quot; it does not provide block hash result:
￼
generatetoaddress 11  1MDihWw2UfkYyAwrQDWNFbmaH6bx4NBFtL</p>
<p>￼
[</p>
<p>]</p>
<p>I have tried the following methods:</p>
<p>bitcoin-cli generatetoaddress 11  1MDihWw2UfkYyAwrQDWNFbmaH6bx4NBFtL.</p>
<p>￼
Method not found (code -32601)</p>
<p>and</p>
<p>bitcoin-cli -regtest generatetoaddress 11 1MDihWw2UfkYyAwrQDWNFbmaH6bx4NBFtL</p>
<p>￼Method not found (code -32601)</p>
<p>Is this got to do with the changes of latest version? I really need help. Thanks</p>
<p><a href="https://i.sstatic.net/LzgNH.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LzgNH.jpg" alt="enter image description here" /></a></p>

<bitcoin-core><bitcoin-qt-setup><command-line-options>
Unable to return BlockHashes when I run this generatetoaddress
Jsim
# Unable to return BlockHashes when I run this generatetoaddress

(Asked by: username_0 on 2021-04-12)

I have downloaded and fully synced with my Mac last Saturday, my Bitcoin Core version is v0.21.0 and my Bitcoin-Qt version 5.9.8.

I did run other RPC commands such as "getrpcinfo" and it did provide result:

{
"active\_commands": [
{
"method": "getrpcinfo",
"duration": 72
}
],
"logpath": "/Users/jsjs77/Library/Application Support/Bitcoin/debug.log"
}

"getbalance" -
￼
{
"mine": {
"trusted": 0.00000000,
"untrusted\_pending": 0.00000000,
"immature": 0.00000000
}
}

But then, when I want to run this "generatetoaddress nblocks "address" it does not provide block hash result:
￼
generatetoaddress 11 1MDihWw2UfkYyAwrQDWNFbmaH6bx4NBFtL

￼
[

]

I have tried the following methods:

bitcoin-cli generatetoaddress 11 1MDihWw2UfkYyAwrQDWNFbmaH6bx4NBFtL.

￼
Method not found (code -32601)

and

bitcoin-cli -regtest generatetoaddress 11 1MDihWw2UfkYyAwrQDWNFbmaH6bx4NBFtL

￼Method not found (code -32601)

Is this got to do with the changes of latest version? I really need help. Thanks

[![enter image description here](https://i.sstatic.net/LzgNH.jpg)](https://i.sstatic.net/LzgNH.jpg)

**Tags:** bitcoin-core, bitcoin-qt-setup, command-line-options


---

## 0 answers

