I generated 500 more blocks, and I am wondering how to restart regtest for a new blockchain so I can follow along better with the videos.
same here was going to write a new reply to thread but noticed you did already.
I installed bitcoin core according to your course Ivanā¦ The node takes too much resources in my Mac I wanna remove the 250Giga Bitcoin node data from my laptop, it is literally heating the driveā¦
I didnāt find any reliable instruction on the web Can u please advise and help remove the node?
Can anyone help me? I cannot generate block on Bitcoin-cli regtest. By using the following command, ./bitcoin-cli -regtest generate 101 I get the following error:
error code: -32601
error message: Method not found
Did I enter it wrong?
Bitcoind regtest was running at the time
Nevermind, I found the answer above
Hi all,
When I try to introduce this command daemon> ./bitcoin-cli -regtest generate 101
I get the following error: error code: -32601
error message:
Method not found
I get the following message on my bitcoind - Adding fixed seed nodes as DNS doesnāt seem to be available.
What am I doing wrong? Can anyone help please?
Thanks
Tried this and I get the following error?
error code: -5
error message:
Error: Invalid address
Can anyone help please?
Thanks
Tetemtotem answer worked for me. Thanks
Hey, @4-Freedom, if you havenāt figured this out yet,
according to the Developers examples website mentioned in the classā¦
" Regtest wallets and block chain state (chainstate) are saved in the regtest
subdirectory of the Bitcoin Core configuration directory. You can safely delete the regtest
subdirectory and restart Bitcoin Core to start a new regtest. (See the Developer Examples Introduction for default configuration directory locations on various operating systems. Always back up mainnet wallets before performing dangerous operations such as deleting.)"
Hope this helps.
Hey @ivan, Iām currently downloading the blockchain. Can I still start another copy of bitcoind in regtest mode and do the cli commands while the mainnet blockchain is downloading or do I need to wait for it?
Thanks!
You can abort downloading the blockchain if you only wanna use regtest
Hi,
im getting an error message when i try to generate new blocks on regtest:
PS C:\Program Files\Bitcoin\daemon> ./bitcoin-cli -regtest generate 101
error code: -32601
error message:
Method not found
Close bitcoind and open again like this:
./bitcoind -regtest -deprecatedrpc=generate
Then try again on bitcoin-cli
Hi Fabrice,
I test the way wou write but m getting the same results:
PS C:\Program Files\Bitcoin\daemon> ./bitcoin-cli -regtest generate 101
error code: -32601
error message:
Method not found
Strange, I just checked and it works for me.
Are you using powershell (admin)?
If you hit windows logo button + x
Then powershell (admin)
Then cd āāc:\Programā¦ Deamonāā
Then
./bitcoind -regtest -deprecatedrpc=generate
Open second powershell (admin) window
Go to correct folder with cd āāc:\progā¦ Deamonāā
./bitcoin-cli -regtest generate 101
Your error seems to not recognize generate.
Can you do other things? Like getnewaddress?
Just stick it in the trash and delete it
I am having trouble generating my 101 blocks in my regtest. I keep getting an error message (code -32601) saying āMethod not foundā.
I have the bitcoind regtest printtoconsole running, and have created an address, and have typed in the correct information in the powershield ./bitcoin-cli -regtest generate 101
Any help on this is much appreciated.
Nevermind on this. I figured it out. The video is using the old version to generate the regtest blocks. The new command is " ./bitcoin-cli -regtest generate to address 101 āyouraddressā