Closed wudics closed 6 years ago
need to unlock in geth or parity
but not working with --unlock or --password @xenhim
You use pirl . you need unlock in ./pirl --unlock "xxxxx" --password "~/.password"
pirl totally there. Please take a look at the tutorial
I already use this two params, but not working, in my startup script there are something wrong ? please help me to figure out
check file passwork . was it correct path? . When the pirl run have see unlocked?
yes, it is the right path, I use below jsonrpc to check is correct or not :
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_sign","params":["0x03cb42164a498c019c0fc55acf59210b683ff09c", "0xdeadbeaf"],"id":1}' http://127.0.0.1:6588
when I use --unlock --password params , it is show account locked
when I use personal.unlockAccount in console model, it is show account unlock successfully
Try a password.txt password file . when successfully unlocked. edit the content in the text file. Remove your password.
how to ?
"nano password.txt" type password and save
restart ./pirl --maxpeers 100 --rpc --rpcaddr "127.0.0.1" –-rpcapi "eth,net,web3" --unlock "0x03cb42164a498c019c0fc55acf59210b683ff09c" –-password "/root/pirl-linux-amd64/password.txt"
hmmm, not working I just try, account still locks, it seems to ignore --unlock --password parameters
[solved] Thanks @xenhim , I fix it with recompiling the pirl source code and change the startup script like this:
screen -LdmS pirl ./pirl -maxpeers 100 -rpc -rpcaddr 127.0.0.1 -rpcapi eth,net,web3 -unlock 0x03cb42164a498c019c0fc55acf59210b683ff09c -password /root/pirl-linux-amd64/password
System infomations
Pirl Version
OS & Version: ubuntu 16.04
Issues
I have mined some block, and block is pending, I look in screen payout module, he said "Unable to process payouts: authentication needed: password or unlock", someone can tell me to fix it? and my password file do not have extral char like '\n'.
my pool is http://pirl.sokuyun.cn/, looks fine, except balance pending.
my miner is http://pirl.sokuyun.cn/#/account/0xff8806c00738d6cf16852d7022dfb61d6cf82545
Startup script
Config
my payout config and unlock confign like below:
Backtrace
Unable to process payouts: authentication needed: password or unlock