Methods "generate" and "generatetoaddress" not available in Dashd in regtest mode

0

I'm running dash-qt v0.14 on Mac OS Catalina in regtest mode with the following configuration file:

server=1
daemon=1
rpcuser=test
rpcpassword=test
rpcport=18445
regtest=1

I'm sending the following payload to the RPC:

{"jsonrpc": "1.0", "id": "225397719705", "method": "generatetoaddress", "params": [101, "yddiN2CfWvwPPcnkMrZA7U2sC8EJstDkwU"]}

The address yddiN2CfWvwPPcnkMrZA7U2sC8EJstDkwU is part of my wallet, as it's been generated using the getnewaddress method.

I'm getting the following response:

{"result": null, "error": {"code": -32601, "message": "Method not found"}, "id": "225397719705"}

All other endpoints work perfectly fine, except generate.

Also, I have very similar configuration for bitcoind and litecoind clients, and generatetoaddress method works perfectly fine in both cases, it's only in Dash where it's not working.

Any idea why?

Molina

Posted 2019-11-19T14:56:20.467

Reputation: 103

Question was closed 2019-11-26T11:45:34.443

No answers