This question already has an answer here:

enter image description here

As the picture shows,I am really confuesd.

marked as duplicate by Adam, Community Mar 16 at 16:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What version of Bitcoin Core are you using? – Andrew Chow Mar 16 at 15:35

For the upcoming Bitcoin Core 0.18 release, the generate command has been deprecated and its functionality disabled. For the following major release, 0.19.0, the generate command has been removed entirely. This removal is already in the master branch of Bitcoin Core's source code. If you have built that branch from source, then the generate command does not exist.

Use generatetoaddress instead.

  • It works! Thanks a lot ! Next time I'll search more carefully~Thank you for your patience. – jia tan Mar 16 at 16:29

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