Ticket Fee

Discussion in 'Proof-of-stake Mining' started by N3wb1e, Jul 29, 2016.

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

    N3wb1e New Member

    Jun 12, 2016
    65
    12
    Europe
    How can i set ticketfee? Im solo-mining and not using ticketbuyer. This is the first time i need to adjust it, because before the default fee has been enough. Yesterday when ticket price was low i didn't get a single ticket.(not so bad, still have over 70 live) I already know setticketfee command. Is it enough, that example i type setticketfee 0.03 if i want fee to be 0.03 or is there somehing else need to be known. Thank you beforehand.
     
  2. Nimrod

    Nimrod New Member

    Mar 4, 2016
    102
    18
    Male
    Without a conf file this will work.

    dcrctl -u username -P password --wallet setticketfee 0.03

    You can check you settings with:

    dcrctl -u username -P password --wallet walletinfo
     
  3. N3wb1e

    N3wb1e New Member

    Jun 12, 2016
    65
    12
    Europe
    If i put it on conf file, "setticketfee=0.03" is that right?

    https://forum.decred.org/threads/ticket-fee.3361/

    That thread above is because im asking, im confused that will i have to calculate it somehow or is it just "setticketfee 0.03" and thats it?
     
  4. root

    root Member

    Feb 3, 2016
    381
    76
    I'd recommend dcrticketbuyer or dcrspy to check / set proper ticket fee.
    Or what I use :
    ticketfeeinfo 2 0
    getstakeinfo
    and
    setticketfee
     
  5. N3wb1e

    N3wb1e New Member

    Jun 12, 2016
    65
    12
    Europe
    So when i put example setticketfee 0.03 and walletinfo shows the same, then it's valid to all automatic ticket purchases?
     
  6. root

    root Member

    Feb 3, 2016
    381
    76
    yes, but if you run
    ticketfeeinfo
    you find that not always low fee is enough.
    I may prepare a fancy tool if there is an interest.
     
  7. N3wb1e

    N3wb1e New Member

    Jun 12, 2016
    65
    12
    Europe
    So the "ticketfeeinfo" shows real-time stats in current difficulty?
     
  8. root

    root Member

    Feb 3, 2016
    381
    76
    yes.


    $ ./d help ticketfeeinfo
    ticketfeeinfo (blocks windows)

    Get various information about ticket fees from the mempool, blocks, and difficulty windows

    Arguments:
    1. blocks (numeric, optional) The number of blocks, starting from the chain tip and descending, to return fee information about
    2. windows (numeric, optional) The number of difficulty windows to return ticket fee information about

    Result:
    {
    "feeinfomempool": { (object) Ticket fee information for all tickets in the mempool
    "number": n, (numeric) Number of transactions in the mempool
    "min": n.nnn, (numeric) Minimum transaction fee in the mempool
    "max": n.nnn, (numeric) Maximum transaction fee in the mempool
    "mean": n.nnn, (numeric) Mean of transaction fees in the mempool
    "median": n.nnn, (numeric) Median of transaction fees in the mempool
    "stddev": n.nnn, (numeric) Standard deviation of transaction fees in the mempool
    },
    "feeinfoblocks": [{ (array of object) Ticket fee information for a given list of blocks descending from the chain tip
    "height": n, (numeric) Height of the block
    "number": n, (numeric) Number of transactions in the block
    "min": n.nnn, (numeric) Minimum transaction fee in the block
    "max": n.nnn, (numeric) Maximum transaction fee in the block
    "mean": n.nnn, (numeric) Mean of transaction fees in the block
    "median": n.nnn, (numeric) Median of transaction fees in the block
    "stddev": n.nnn, (numeric) Standard deviation of transaction fees in the block
    },...],
    "feeinfowindows": [{ (array of object) Ticket fee information for a window period where the stake difficulty was the same
    "startheight": n, (numeric) First block in the window (inclusive)
    "endheight": n, (numeric) Last block in the window (exclusive)
    "number": n, (numeric) Number of transactions in the window
    "min": n.nnn, (numeric) Minimum transaction fee in the window
    "max": n.nnn, (numeric) Maximum transaction fee in the window
    "mean": n.nnn, (numeric) Mean of transaction fees in the window
    "median": n.nnn, (numeric) Median of transaction fees in the window
    "stddev": n.nnn, (numeric) Standard deviation of transaction fees in the window
    },...],
    }
     
  9. N3wb1e

    N3wb1e New Member

    Jun 12, 2016
    65
    12
    Europe
    Thanks, now everything seems very clear
     

Share This Page