user101858: 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

user101858: the answer is :
bitcoin-cli -regtest generatetoaddress < nblocks > < address >

101858: <p>when I type</p>
<pre><code>bitcoin-cli -regtest generate 101
</code></pre>
<p>in the powershell it gives me this error:</p>
<pre><code>PS C:\Program Files\Bitcoin\daemon&gt; ./bitcoin-cli -regtest generate 101
error code: -32601
error message:
</code></pre>
<p>I am running bitcoind in regtest too ,this is the last message that I got fom bitcoind:</p>
<pre><code>Adding fixed seed nodes as DNS doesn't seem to be available.
</code></pre>
<p>please help</p>
 101858: <p>the answer is :</p>
<p>bitcoin-cli -regtest generatetoaddress &lt; nblocks &gt; &lt; address &gt;</p>
