Pos Mining: All Tickets Voted, But Funds Still Locked ... Did I Misunderstand Something?

Discussion in 'Balances' started by Moxon, Mar 1, 2017.

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

    Moxon New Member

    Jan 28, 2016
    4
    1
    Hi!

    Right now my balance is roughly 619 DCR with 402 DCR locked. I have no live tickets, just 53 voted ones. Is there something wrong?

    I was expecting the funds to be released once a ticket has been used for voting. Am I misunderstanding something here?

    Here are some outputs:

    > getstakeinfo
    {
    "blockheight": 111785,
    "poolsize": 41268,
    "difficulty": 43.94140579,
    "allmempooltix": 6,
    "ownmempooltix": 0,
    "immature": 0,
    "live": 0,
    "proportionlive": 0,
    "voted": 53,
    "totalsubsidy": 94.51717342,
    "missed": 81,
    "proportionmissed": 0.6044776119402985,
    "revoked": 81,
    "expired": 0
    }

    > walletinfo
    {
    "daemonconnected": true,
    "unlocked": true,
    "txfee": 0.01,
    "ticketfee": 0.01,
    "ticketmaxprice": 120,
    "balancetomaintain": 0,
    "stakemining": false
    }
    I run my wallet like this (decred 0.8.2):

    ./dcrwallet --enablevoting --enableticketbuyer --ticketbuyer.balancetomaintainabsolute=150.0 --ticketbuyer.maxpriceabsolute=120 --ticketbuyer.spreadticketpurchases --ticketaddress=MASKED --prunetickets ​

    Thanks in advance for any clarifications / hints
    Moxon
     
  2. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    Try this command and it may shed some more insight on where your dcr actually are.

    dcrctl.exe --wallet getbalance "*"
     
  3. Moxon

    Moxon New Member

    Jan 28, 2016
    4
    1
    Afte I migrated away from the dcrticketbuyer back to the (now new) wallet based method with --enablevoting and related options and after I did some rebroadcast* and prunetickets, the value of immaturestakegeneration is now 0 (yesterday it was 406...). Output today is:


    > getbalance *

    {
    "balances": [
    {
    "accountname": "default",
    "immaturecoinbaserewards": 0,
    "immaturestakegeneration": 0,
    "lockedbytickets": 406.70541639,
    "spendable": 212.19623266,
    "total": 618.90164905,
    "votingauthority": 0
    },
    {
    "accountname": "imported",
    "immaturecoinbaserewards": 0,
    "immaturestakegeneration": 0,
    "lockedbytickets": 0,
    "spendable": 0,
    "total": 0,
    "votingauthority": 0
    }
    ],
    "blockhash": "MASKED"
    }​
     
  4. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    #4 drunkenmugsy, Mar 8, 2017
    Last edited: Mar 8, 2017
    That is kinda weird.

    From what I see there you should have a few stake tickets waiting to vote. Typically once a ticket has voted you will see staked funds in the "immaturestakegeneration": 0, line of the voting account. These are funds 'in flight' and waiting to be unlocked. I use a pool so I have funds locked in an imported account as below.
    Code:
      "balances": [
        {
          "accountname": "default",
          "immaturecoinbaserewards": 0,
          "immaturestakegeneration": 134.98376575,
          "lockedbytickets": 0,
          "spendable": 43.07911454,
          "total": 178.06288029,
          "votingauthority": 0
        },
        {
          "accountname": "1",
          "immaturecoinbaserewards": 0,
          "immaturestakegeneration": 0,
          "lockedbytickets": 0,
          "spendable": 0,
          "total": 0,
          "votingauthority": 0
        },
        {
          "accountname": "imported",
          "immaturecoinbaserewards": 0,
          "immaturestakegeneration": 0,
          "lockedbytickets": XXXX.21716412,
          "spendable": 0,
          "total": XXXX.21716412,
          "votingauthority": 0
        }
    I would rebuild your wallet. You dont have to reload dcrd. Just rebuild your wallet from seed. It will only take a few minutes.
     

Share This Page