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?