4

After long days I have finally gotten ethminer and Parity to talk to each other!

However when I ask them to, Parity returns: Cannot give work package - no author is configured. Use --author to configure!

ethminer says:  ethminer  Getting work package...
JSON-RPC problem. Probably couldn't connect. Retrying in 1... 

What am I missing?

Badr Bellaj
  • 18,780
  • 4
  • 58
  • 75
Chris
  • 43
  • 2

1 Answers1

1

According to the Parity Wiki on GitHub: https://github.com/paritytech/parity/wiki/Configuring-Parity The --author argument is used to

Specify the block author (aka "coinbase") address for sending block rewards from sealed blocks. NOTE: MINING WILL NOT WORK WITHOUT THIS OPTION. (default: None)

So basically you need to specify where to send block rewards. You should be able to fix the issue by editing your ~/.local/share/io.parity.ethereum/config.toml config file to include your desired author address.

You can also do this via console with miner.setEtherbase(<desired address>)

  • Thanks Eric, can you tell me where I get this value from? (sorry for the Newbish question) – Chris Jun 08 '17 at 20:15
  • No problem! Just set it to a wallet address that you want the block rewards sent to –  Jun 08 '17 at 20:20
  • 1
    Here's a crash course on accounts: https://github.com/paritytech/parity/wiki/Accounts,-Wallets,-Vaults – 0xcaff Jun 09 '17 at 00:17