Decred V 0.7 Upgrade V1.0.5, How To Use Command Pos Mining

Discussion in 'Solo Mining' started by mnb7089, Aug 3, 2017.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. mnb7089

    mnb7089 New Member

    Jan 17, 2016
    15
    0
    Male
    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
     
  2. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    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.
     
  3. mnb7089

    mnb7089 New Member

    Jan 17, 2016
    15
    0
    Male


    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
     
  4. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    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.
     
  5. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    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.
     

Share This Page