0

when I type

bitcoin-cli -regtest generate 101

in the powershell it gives me this error:

PS C:\Program Files\Bitcoin\daemon> ./bitcoin-cli -regtest generate 101
error code: -32601
error message:

I am running bitcoind in regtest too ,this is the last message that I got fom bitcoind:

Adding fixed seed nodes as DNS doesn't seem to be available.

please help

3
0

the answer is :

bitcoin-cli -regtest generatetoaddress < nblocks > < address >

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.