user113472: I am using the official bitcoin core client downloaded from bitcoin.org
i have googled this question multiple times finding only virus warning files or forums with links to outdated information and i cant find a concrete answer for the latest version 0.20.1 for my question (ill make it simple) "which command do i type into bitcoin core console to mine?"
How can i "get" a new block for a "reward" of the current reward btc as a "miner"?
i have tried "nicehash" for 2 hours but that netted me like $0.03 and a very hot machine haha
i know the chances are very very low for me to solo mine (for example bitcoin core uses only CPU which is very inefficient apparently), i dont care, i want to do it anyway, i know there are other mining software out there but i want to use bitcoin core, to get it mining and working properly
i have tried
getmininginfo

which gave me back output which i mostly understand (but no errors)
then i tried:
getblocktemplate "{\"rules\":[\"segwit\"]}"

which spewed out a lot of information which i do not fully understand yet... (but no errors)
currently i am trying :
generatetoaddress 1 "*** address removed***" (999999999)

which takes about 17 minutes to complete and i get a return of in the console:
What is the following output? is it an error?
11:**:**
￼
[
]

Question: is this the right method:
generatetoaddress 1 "*** address removed***" (999999999)

above to mine the current 6.25btc reward with bitcoin core?
i know the odds are slim but is this the right command?
if so, this command currently takes 17 mins, should i try less iterations (default or 1 or other low number?) with a higher nblock value?
of note: using iterations less than 999999999 results in the command processing quickly (1 second not 17 minutes)
if this is wrong command then why however in the debug file do i find this after using the command?:
2021-01-**T11:**:**Z CreateNewBlock(): block weight: ******** txs: **** fees: ********* sigops *****

Question: what does this above output tell me? please note i have put stars (*) to hide possibly sensitive info
Question: How can i speed up the response of 17 minutes for my command:

generatetoaddress 1 "address" (999999999)

? in task manager the bitcoin core program is using about 15% cpu and about 800mb ram
can i increase its resources for a faster response in the console for my command which currently takes 17 minutes to compute?

user47827: Bitcoin Core on its own does not support mining. You need to run additional mining software with Bitcoin Core.
generatetoaddress can only be used on regtest which is for local testing. Any Bitcoin generated to this address are not worth anything.

i have tried "nicehash" for 2 hours but that netted me like $0.03 and a very hot machine haha

This sounds about right unfortunately. The total network hash rate according to blockchain.com is over 100 million terahashes per second. We are long past the point where CPU solo mining can successfully mine a block. You will be waiting for many years before you do. The best you can hope for is to sign up to a mining pool and generate the odd cent.

113472: <p>I am using the official bitcoin core client downloaded from bitcoin.org</p>
<p>i have googled this question multiple times finding only virus warning files or forums with links to outdated information and i cant find a concrete answer for the latest version 0.20.1 for my question (ill make it simple) &quot;which command do i type into bitcoin core console to mine?&quot;</p>
<p>How can i &quot;get&quot; a new block for a &quot;reward&quot; of the current reward btc as a &quot;miner&quot;?</p>
<p>i have tried &quot;nicehash&quot; for 2 hours but that netted me like $0.03 and a very hot machine haha</p>
<p>i know the chances are very very low for me to solo mine (for example bitcoin core uses only CPU which is very inefficient apparently), i dont care, i want to do it anyway, i know there are other mining software out there but i want to use bitcoin core, to get it mining and working properly</p>
<p>i have tried</p>
<pre><code>getmininginfo
</code></pre>
<p>which gave me back output which i mostly understand (but no errors)</p>
<p>then i tried:</p>
<pre><code>getblocktemplate &quot;{\&quot;rules\&quot;:[\&quot;segwit\&quot;]}&quot;
</code></pre>
<p>which spewed out a lot of information which i do not fully understand yet... (but no errors)</p>
<p>currently i am trying :</p>
<pre><code>generatetoaddress 1 &quot;*** address removed***&quot; (999999999)
</code></pre>
<p>which takes about 17 minutes to complete and i get a return of in the console:</p>
<p>What is the following output? is it an error?</p>
<pre><code>11:**:**
￼
[
]
</code></pre>
<p>Question: is this the right method:</p>
<pre><code>generatetoaddress 1 &quot;*** address removed***&quot; (999999999)
</code></pre>
<p>above to mine the current 6.25btc reward with bitcoin core?</p>
<p>i know the odds are slim but is this the right command?</p>
<p>if so, this command currently takes 17 mins, should i try less iterations (default or 1 or other low number?) with a higher nblock value?</p>
<p>of note: using iterations less than 999999999 results in the command processing quickly (1 second not 17 minutes)</p>
<p>if this is wrong command then why however in the debug file do i find this after using the command?:</p>
<pre><code>2021-01-**T11:**:**Z CreateNewBlock(): block weight: ******** txs: **** fees: ********* sigops *****
</code></pre>
<p>Question: what does this above output tell me? please note i have put stars (*) to hide possibly sensitive info</p>
<p>Question: How can i speed up the response of 17 minutes for my command:</p>
<blockquote>
<p>generatetoaddress 1 &quot;address&quot; (999999999)</p>
</blockquote>
<p>? in task manager the bitcoin core program is using about 15% cpu and about 800mb ram</p>
<p>can i increase its resources for a faster response in the console for my command which currently takes 17 minutes to compute?</p>
 47827: <p>Bitcoin Core on its own does not support mining. You need to run additional mining software with Bitcoin Core.</p>
<p><code>generatetoaddress</code> can only be used on regtest which is for local testing. Any Bitcoin generated to this address are not worth anything.</p>
<blockquote>
<p>i have tried &quot;nicehash&quot; for 2 hours but that netted me like $0.03 and a very hot machine haha</p>
</blockquote>
<p>This sounds about right unfortunately. The total network hash rate according to <a href="https://www.blockchain.com/charts/hash-rate" rel="nofollow noreferrer">blockchain.com</a> is over 100 million terahashes per second. We are long past the point where CPU solo mining can successfully mine a block. You will be waiting for many years before you do. The best you can hope for is to sign up to a mining pool and generate the odd cent.</p>
