I have accomplish to add a parity node to the private network with the help of this valuable guide: https://ethereum.stackexchange.com/a/13035/4575

Now I would like to attach ethminer to my parity node, in order to do mining. Please note that my parity node successfully run on the background, as connected to my private chain. Also did rm -rf .ethash/.

[$] cpp-ethereum/build/ethminer/ethminer -F http://localhost:8545


miner  13:13:13.230|  Getting work package...
  ✘  13:13:13.231|  Failed to submit hashrate.
  ✘  13:13:13.231|  Dynamic exception type: jsonrpc::JsonRpcException
std::exception::what: Exception -32601 : METHOD_NOT_FOUND: The method being requested is not available on this server: Method not found

[Q] How could I fix the error I am facing?

=> Also when I attach geth to parity, it does not see miner.start() command.

Note: The way I installed ethminer:

[$] git clone --recursive https://github.com/ethereum/cpp-ethereum.git [$] cd cpp-ethereum

Build: [$] cmake -H. -Bbuild [$] cmake --build build

[$]ethminer --version
 ethminer version 1.3.0 | Build: ETH_BUILD_PLATFORM/ETH_BUILD_TYPE

Please note that similar question asked but has not been covered well. ethminer Failed to submit hashrate Thank you for your valuable time and help.

2 Answers 2


Don't use cpp-ethereum, it's barely maintained. Use Genoil-ethereum for mining.

Enable stratum support with parity --stratum, also make sure you set an author with --author <your-address> and optionally change the --stratum-port to anything you like (default 8008). Long example:

parity --author 0037a6b811ffeb6e072da21179d11b1406371c63 --stratum --stratum-interface= --stratum-port=9009

Then point your ethminer (genoil) to your localhost at :8008, i.e.,

ethminer -S

Update as per comments: If your ethminer does not support -S (stratum), you need to set the --rpccorsdomain localhost to allow getwork mining via jsonrpc with -F

Disclosure, I work for parity.

  • What should be the address? Address could be the address from: eth.accounts[0]? @5chdn
    – alper
    Commented Mar 29, 2017 at 10:37
  • 1
    For example. Or any other address you wish to be the owner of the mined block reward.
    – q9f
    Commented Mar 29, 2017 at 10:39
  • When I try to run: ethminer -S it gives following error: Invalid argument: -S @5chdn
    – alper
    Commented Mar 29, 2017 at 10:41
  • I have run with -F parameter, but it gave the similiar error: Exception -32003 : Client connector error: libcurl error: 28 -> Operation timed out. -> Could not connect to @5chdn
    – alper
    Commented Mar 29, 2017 at 11:01
  • ethminer by genoil supports -S.
    – q9f
    Commented Mar 29, 2017 at 11:46

I did run parity with additional --rpccorsdomain localhost flag. And able to start mining via: sudo ./ethminer -F http://localhost:8545. Please not forget to do: cd && rm -rf .ethash/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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