miningcore icon indicating copy to clipboard operation
miningcore copied to clipboard

[eth1] System.Exception: eth_sendTransaction returned error: unknown account code -32000

Open James1847 opened this issue 2 years ago • 3 comments

image image

how can I solve this problem, I guess the problem is in the config.json -> "paymentProcessing" block, I didn't set the payment private_key, Can u tell me how to set my private_key into the config.json, then miningcore can use PPLNS to send ETH rewards to the miner address? If I can't set private key in config.json, Should I must create a local eth account by using "geth account new" command, and then when I start geth, I also has to set the password into the geth command? Finally, how to set this account password in mingingcore config.json ?

James1847 avatar Jan 08 '22 17:01 James1847

https://github.com/oliverw/miningcore/wiki/Coin-Daemon-&-Wallet-RPC#ethereum

seperatis avatar Jan 08 '22 17:01 seperatis

https://github.com/oliverw/miningcore/wiki/Coin-Daemon-&-Wallet-RPC#ethereum

After I restart the geth with the right option command(geth unlock and unlock insecure option), I can mine the block and mingcore tell me that I can also send the rewards the miners, I started my geth in Ethereum Rospten Testnet...., the details shows below, this is mingcore shows me the content: image below is geth shows me the content: image

But when I search the transaction id in https://ropsten.etherscan.io/tx/0xfd6f46d2f4e4ef5e91aa49c3540fdc2dbc63413e227767b7afde7fa284c072f5 I found nothing about the transfer details, The ETH is still in my main wallet address, what's going on?

And when I use geth attach to finds something in geth, I tried to use eth.pendingTransactions, the content shows blow: image I guess the problem is I didn't set gas price for my transaction, so where can I set gas_price in miningcore or geth?

James1847 avatar Jan 09 '22 02:01 James1847

https://github.com/oliverw/miningcore/wiki/Coin-Daemon-&-Wallet-RPC#ethereum

After I restart the geth with the right option command(geth unlock and unlock insecure option), I can mine the block and mingcore tell me that I can also send the rewards the miners, I started my geth in Ethereum Rospten Testnet...., the details shows below, this is mingcore shows me the content: image below is geth shows me the content: image

But when I search the transaction id in https://ropsten.etherscan.io/tx/0xfd6f46d2f4e4ef5e91aa49c3540fdc2dbc63413e227767b7afde7fa284c072f5 I found nothing about the transfer details, The ETH is still in my main wallet address, what's going on?

And when I use geth attach to finds something in geth, I tried to use eth.pendingTransactions, the content shows blow: image I guess the problem is I didn't set gas price for my transaction, so where can I set gas_price in miningcore or geth?

We currently don't have support for this in MC.

oliverw avatar Mar 07 '22 18:03 oliverw