Question About Purchasing Tickets

Discussion in 'PoS Pools' started by Vanputlei, May 19, 2016.

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

    Vanputlei Jr. Member
    Translator (Nederlands)

    Jan 12, 2016
    69
    36
    Male
    Belgium
    If you purchase tickets manually, is there a way to speed things up?
    Now I purchase them 1 by 1, so to purchase 20 ticks, it takes me almost 1.5 hours.
     
  2. woot

    woot New Member
    Pool Operator (PoS)

    Jan 19, 2016
    55
    24
    Male
    Code:
    $ dcrctl --wallet purchaseticket
    purchaseticket "fromaccount" spendlimit (minconf=1 "ticketaddress" numtickets "pooladdress" poolfees expiry "comment")
    There is an optional parameter, numtickets, that will do what you are looking for, I think.
     
  3. Vanputlei

    Vanputlei Jr. Member
    Translator (Nederlands)

    Jan 12, 2016
    69
    36
    Male
    Belgium
    Thanks for the quick reply. Hope it will work out, will try later this evening
     
  4. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    woot likes this.
  5. Vanputlei

    Vanputlei Jr. Member
    Translator (Nederlands)

    Jan 12, 2016
    69
    36
    Male
    Belgium
    #5 Vanputlei, May 21, 2016
    Last edited: May 21, 2016
    Thx a lot for your reply. But every time I try to submit the whole command I receive an error:

    purchaseticket command: parameter #2 'spendlimit' must parse to a float64 (code: ErrInvalidType)

    Any Id what I can do about it?

    Next to that I'm also wondering why the command --enablestakemining is not working:
    unknown flag `enablestakemining'
    Use dcrctl -h to show options

    Edit: Problem solved, only the flag --enablestakemining doesn't work. But now I can generate multiple tickets in 1 time, which is a milestone for me. What I did wrong was spendlimit=20 instead of typing '20'
     
  6. woot

    woot New Member
    Pool Operator (PoS)

    Jan 19, 2016
    55
    24
    Male
    --enablestakemining is a flag on dcrwallet. You should turn it on because it allows your wallet to revoke missed tickets, but if you don't want it to autobuy tickets, then you'll want to set the maxticketprice to something very low.
     
  7. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    I use manual command to buy tickets.

    At max I have bought 4 tickets in 1 block itself.

    Almost at rate of 1 ticket every 2 secs.
     

Share This Page