I have locked coins but I can't seem to figure out where they are locked getstakeinfo { "blockheight": 100488, "poolsize": 42387, "difficulty": 25.03752248, "allmempooltix": 2026, "ownmempooltix": 0, "immature": 0, "live": 0, "proportionlive": 0, "voted": x, "totalsubsidy": x "missed": x, "proportionmissed": x, "revoked": x, "expired": x } this is the output of the gestateinfo. I don't seem to have any open tickets. I have already recreated my wallet from seed even recreated the whole database but i can't find where the coins are locked in.
Try: For all coins: dcrctl -u username -P password --wallet getbalance default 0 all For locked coins: dcrctl -u username -P password --wallet getbalance default 0 locked For spendable coins: dcrctl -u username -P password --wallet getbalance default 0 spendable Also good to check if stakemining (true) and wallet is unlocked (true) for voting! dcrctl -u username -P password --wallet walletinfo { "daemonconnected": true, "unlocked": true, "txfee": 0.01, "ticketfee": 0.01, "ticketmaxprice": 2, "balancetomaintain": 0.1, "stakemining": true }
I know how to see if they are locked and a lot of coins are locked. But I don't know why because I have no tickets as you can see. Is there an other place where my coins can be locked at? and here is the output "daemonconnected": true, "unlocked": false, "txfee": 0.01, "ticketfee": 0.01, "ticketmaxprice": 0, "balancetomaintain": 0, "stakemining": false
Good question... I only do solo stakemining, so not using a stakepool. So everything here might not apply to you. I start my wallet with the following. The important part is --enablestakeming which should give "stakemining: true" dcrwallet -u username -P password --walletpass walletpassword --enablestakemining --balancetomaintain=0.1 --ticketmaxprice=2 --ticketbuyfreq=1 --reuseaddresses After the wallet has started up properly I unlock the wallet. You MUST have the wallet unlocked for the voting to take place (solo mining). Not unlocked = VERY BAD. You will not receive any reward for stakemining but the coins remain locked. Regardless you amount of coins you have should show up with the "getbalance" series posted earlier. Unlock wallet with: dcrctl -u username -P password --wallet walletpassphrase walletpassword 0 The only thing I can think of since you already recreated from seed is did you delete the old database directory before recreating the wallet? Redownloading the database takes an hour or so??? Pretty quick anyway. Hope this helps! Sorry got to run, back tomorrow.
I have also never done stake mining in pool only solo. And yes it is created from nothing it was on a whole new pc I installed it. So I have no idea why I have the coins locked because I don't have any tickets as you can see in my first post.
Are you able to run the latest dcrwallet code at https://github.com/decred/dcrwallet ? The getbalance RPC will return more information.
There is a maturity period for all stake-generated coins (created by both votes and revocations). Your coins might not be spendable due to that. The balance changes implemented by dhill should report these coins as a different balance than locked coins so that should help remove some of the confusion.