C:\Users\ADMIN\Desktop\windows-amd64>dcrctl --testnet -u user -P pass --wallet getseed /notls { "seed": "dropper amusement Dupont borderline sailboat pharmacy snapshot souvenir ringbolt vacancy spearhead racketeer adult candidate spindle Pacific wayside recover newborn butterfat rebirth megaton village responsive bluebird tradition tempest certify stockman escapade enlist passenger crusade" } C:\Users\ADMIN\Desktop\windows-amd64>dcrctl --testnet -u user -P pass --wallet g etaccountaddress "default" /notls TsgyB97n5zQ9DXShQEpHPVERj7ZRLGZjx5c but when try to verify C:\mygo\bin>dcraddrgen.exe -verify Enter existing wallet seed: dropper amusement Dupont borderline sailboat pharmac y snapshot souvenir ringbolt vacancy spearhead racketeer adult candidate spindle Pacific wayside recover newborn butterfat rebirth megaton village responsive bl uebird tradition tempest certify stockman escapade enlist passenger crusade First derived address of given seed: DsZBnEixRmZ21gQWGBe2bGJeDYudFLSYKHy got other addres, what i am doing wrong? or how to list address? ps or with dcraddrgen cant verify testnet seed?
So now stake difficulty is: { "difficulty": 188.03667857 } Is it amount in decred coins for 1 ticket? Wow, much more expensive than I expected) I'm interested too. Didn't find any commands in --help, how to list all addresses in the wallet and how to add existing address to the wallet (not to create).
Nope that is difficulty, just like mining difficulty, just a number. I used "getticketmaxprice" for ticket price and got 50. I am guessing that is price for 1 ticket. EDIT: I used getnewaddress to generate a new address
No, you set that ticketmaxprice. In my case output is 200, it's a config option for wallet, maximum price for buying a ticket. https://wiki.decred.org/Solo_Stake_Mining - you can find description here
>_> guys, any guide for dummies? I'm stuck at this : dcrctl --testnet -u user -P pass --wallet getnewaddress /notls , it kept saying target machine actively refused it or the client was never connected.
Good Morning, If its a "401" error likely you have put a user-name or password in wrong, check for capital letters. If its a "malformed" response then its probably a tls issue. For debugging to rule that out run with tls (you wont be able to mine but you should be able to perform that step). Can you post the full error? Could you post all 4 of the commands you used to get to that point?
I tried to set fee to 0 (by default it seems to be 0.00001) with this command: ./dcrctl --testnet -u user -P pass --wallet settxfee 0 --notls And when I tried to send coins, I got this error: TX rejected: transaction XXX has insufficient priority (3.846153846153846e+06 <= 5.76e+07) Is it mean that transfers without fee are not allowed? (when I set the fee back, it started to work again)
Stake price is "sbits": 188.03667857 The price should start falling soon, it was driven up by buying them without a price limit which shouldn't be the case anymore. Code: $ dcrctl --testnet -u user -P pass --wallet getbestblock { "hash": "000000000089fdba1e23e9ac97a956ac3d988ce57c5fa98b818ffe5f988dffec", "height": 1862 } jolan@deski5:~$ dcrctl --testnet -u user -P pass --wallet getblock 000000000089fdba1e23e9ac97a956ac3d988ce57c5fa98b818ffe5f988dffec { "hash": "000000000089fdba1e23e9ac97a956ac3d988ce57c5fa98b818ffe5f988dffec", "confirmations": 1, "size": 1479, "height": 1862, "version": 0, "merkleroot": "28d592bb24b443c466535d749415328cab401bd95300b5d63c86273e46183918", "stakeroot": "fb8472b9aad47a72db36ec7ced23c8d4227a947a4d0d421758211d5e1b24cb7f", "tx": [ "b6414791f11c8b0001b77f205e1675c05cdc1b7fd068b4592df016683cb7c9db" ], "stx": [ "882c44a67c76ef6d5c3c0110022c392d49c427f6b57b53be9e522c52a777ad6b", "976bcf31bd9542045577ec1a0e8cf4f44aff85f0c991ca47d84bbab382bb76d0", "a8113d41033b1a22b4d96b70ce78bc3f4f29d0a31515533ece0614b8553fb445" ], "time": 1453987233, "nonce": 1822932198, "votebits": 1, "finalstate": "0da1106a2b7e", "voters": 3, "freshstake": 0, "revocations": 0, "poolsize": 8031, "bits": "1c00c721", "sbits": 188.03667857, "difficulty": 84251.75588991, "extradata": "000000000000000000000000000000000000000000000000000000000000000000000000", "previousblockhash": "00000000006ffbe95385f26ee3bbc1defdfe008ba3641834c053296fbb2cd273" }
So was this block declined (since only 3 voters, not 5)? And this is coins transfer, right? "tx": [ "b6414791f11c8b0001b77f205e1675c05cdc1b7fd068b4592df016683cb7c9db" ]
Ok i tried writing a guide. I hope this helps https://forum.decred.org/threads/guide-how-i-got-my-daemon-wallet-miner-running-on-testnet.352/
sbits is stuck at same amount. People, get your ticket price bids lower. I want to test staking! Mine is at 20
Did you use --noclienttls when running dcrwallet.exe? Mine wouldn't connect until I added that flag. dcrwallet.exe --testnet -u xxx -P xxx --noclienttls -tb-
woo! just submitted a sstx and balance is deducted by 200 coins. lets see what happens. What other parameters can i check using dcrctl to see how my ticket is doing? Thanks. EDIT: i can see my tx in current block yay! Ok so my balance is up from 40 to 51.96332162 but my ticket still shows up in immature tickets shown using "gettickets 1" command. Did my ticket won & i got the stake reward & i will get my coins spent on ticket after certain number of confs?
Code: $ dcrctl -l | grep ticket missedtickets ticketsforaddress "address" getticketmaxprice gettickets includeimmature notifynewtickets notifyspentandmissedtickets notifywinningtickets purchaseticket "fromaccount" spendlimit (minconf=1 "ticketaddress" "comment") sendtossgen "fromaccount" "tickethash" "blockhash" height votebits ("comment") sendtossrtx "fromaccount" "tickethash" ("comment") setticketmaxprice max
What does those notify commands do? i ran them but it returned nothing. Also i am on windows so i have no grapes
I suspect they're to register for websocket notifications. Typically when a longer lived process connects to the wallet, they do so via a persistent websocket connect. The notify* commands allow the client to register to receive asynchronous notifications about those events. It looks like a bug that they're being listed as available for dcrctl. I bet whoever added them didn't add them to the right file so they aren't marked as websocket only properly. Since dcrctl doesn't use websockets, they don't apply there.
Ok so my balance is up from 40 to 51.96332162 but my ticket still shows up in mature tickets shown using "gettickets 0" command. Did my ticket won & i got the stake reward & i will get my coins spent on ticket after certain number of confs?