oliverw / miningcore

Miningcore is a high-performance Mining Pool Software for Linux and Windows.
https://store.miningcore.pro
MIT License
717 stars 662 forks source link

GETH WALLET LOCKED - how to pass unlock password #1664

Closed ghost closed 1 year ago

ghost commented 1 year ago

I have a question that i could not find solution to

How do i pass the account unlock password in the config file

ghost commented 1 year ago

I have the beloe config for

"paymentProcessing": { "enabled": true, "minimumPayment": 1, "payoutScheme": "PPLNS", "coinbasePassword": "password", "payoutSchemeConfig": { "factor": 0.8 },

Netowrk is callisto Mining Works fine

ghost commented 1 year ago

[2023-04-18 05:22:26.6940] [E] [clo1] System.Exception: eth_sendTransaction returned error: authentication needed: password or unlock code -32000 System.Exception: eth_sendTransaction returned error: authentication needed: password or unlock code -32000 at Miningcore.Blockchain.Ethereum.EthereumPayoutHandler.PayoutAsync(Balance balance, CancellationToken ct) in /home/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPayoutHandler.cs:line 440 at Miningcore.Blockchain.Ethereum.EthereumPayoutHandler.PayoutAsync(IMiningPool pool, Balance[] balances, CancellationToken ct) in /home/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPayoutHandler.cs:line 267 at Miningcore.Blockchain.Ethereum.EthereumPayoutHandler.PayoutAsync(Balance balance, CancellationToken ct) in /home/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPayoutHandler.cs:line 440 at Miningcore.Blockchain.Ethereum.EthereumPayoutHandler.PayoutAsync(IMiningPool pool, Balance[] balances, CancellationToken ct) in /home/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPayoutHandler.cs:line 267

ghost commented 1 year ago

Okay i fixed this error

Unlocked account while opening geth with flags

./geth-linux-amd64 --http --http.addr 192.168.100.3 --http.port 8546 --mine --miner.etherbase 0x8A4b79aB5D910a217b2E75fB8fd4e5546fg0907894 --unlock 0x8A4b79aB5D910a217b2E75fB8fd4e5546fg090789 --allow-insecure-unlock --password /home/callisto/password.txt