hi, Decred V 0.7 upgrade v1.0.5, how to use command POS Minging How do I change the following code? Please help me, thank you 1、dcrwallet -u user -P pass --walletpass 123 --enablestakemining --balancetomaintain=100 --ticketmaxprice=70 2、dcrctl -u user -P pass --wallet getbalance 3、dcrctl -u user -P pass --wallet getbalance default 0 all 4、dcrctl -u user -P pass --wallet getbalance * 0 locked
I think you will need to set up a dcrwallet config file. Command 'enablestakemining' was splited into two: 'enablevoting' and 'enableticketbuyer'. Here is my config fle, maybe with some parameters to much, but is working for me: username=XXXXXX password=YYYYYY dcrdusername=ZZZZZZ dcrdpassword=AAAAAA walletpass=BBBBBB txfee=0.001 (now by default, not need to be specified) ticketfee=0.001 (now by default, not need to be specified) enablevoting=1 enableticketbuyer=1 ticketbuyer.balancetomaintainabsolute=0.1 ticketbuyer.balancetomaintainrelative=0 ticketbuyer.maxpriceabsolute=64 ticketbuyer.maxpricerelative=1.6 ticketbuyer.maxperblock=3 ticketbuyer.feetargetscaling=2.0 ticketbuyer.maxfee=0.001 ticketbuyer.minfee=0.001 ticketbuyer.dontwaitfortickets=1 ticketbuyer.expirydelta=60 You can see paramaters 'enablevoting=1' and 'enableticketbuyer=1', that mean it will start wallet for voting and will start ticket buyer. After starting wallet you will need to type private passphrase to permanently unlock wallet for voting purposes.
thank you ,See what the command is, how to write, 2、dcrctl -u user -P pass --wallet getbalance 3、dcrctl -u user -P pass --wallet getbalance default 0 all 4、dcrctl -u user -P pass --wallet getbalance * 0 locked
I think with new version there is only one command '--wallet getbalance', other combinations are obsolete and does not exist any more. I might be wrong maybe somebody else will put some more light on this matter. Personaly I use only 'getbalance' and got all info I ever need.
All the locked/immature/reward info is reported by just the getbalance command. I was using the '*' 0 etc, etc but it is not needed now.