Well depends. If you are cpu mining (dcrctl setgenerate 1), it is probably doubtful that you will be able to mine a block before the GPU miners, but if you do you will see: Block Submitted.... In cgminer, it will say: Block accepted ... Also keep in mind getbalance will not show non-mature coinbase transactions, which is 16 blocks. You can also try getbalance default 0, which is asking for the balance of the default account and 0 confirmations.
Ah patience is the key Also you have to restart dcrd in tls mode. Now my balance has significantly changed.
When you look at the debug message for "FOund block for pool 0!", it say share above target. I am sure this is the reason why.
Can anybody please post detailed guide to start mining on windows ? with detailed guide on where to put ur wallet address and how to start dcrd(wtf is this) that would be very helpful
EDIT: Comments removed for command line clarity. Rohit, Start --->here<---. If you want to mine In Windows, you must disable TLS on each of these commands. It appears that cgminer does not support TLS. Here are the modified versions of the commands. Go look at the binaries and download the windows-386 zip if you are using a 32-bit system or the windows-amd64 zip for a 64bit systems. Extract the zip you downloaded to it's own directory. Open this new directory and you will see 3 exe files (dcrd, dcrwallet, dcrctl) Hold shift and right click in the empty white space next to these files, and click open command window here. This is where you will run the following commands (taken from the wiki, but modified to disable TLS): dcrd: dcrd --testnet -u user -P pass /notls dcrwallet: dcrwallet --create dcrwallet -u user -P pass --dcrdusername=user --dcrdpassword=pass /noclienttls /noservertls dcrctl --testnet -u user -P pass --wallet getnewaddress /notls dcrctl --testnet -u user -P pass --wallet walletpassphrase test 120 /notls dcrctl --testnet -u user -P pass --wallet getbalance /notls The first 3 commands are all you need to get started (well, 4 actually, so you can get your address and post it in the other thread to receive some testnet Decred). Setting up cgminer is fairly straightforward and is discussed here in the Wiki. Firstly, we need to modify the daemon to start with an address for miner deposits. You can use the getnewaddress command listed above if you want an address just for miner deposits. You can kill the previous dcrd command with Crtl+C and replace it with this: dcrd --testnet -u user -P pass /notls --miningaddr=TsoEdubgeuLP3izLNxxxxxxxxxxxxxxx Download and extract the cgminer binary zip from GitHub and extract it to its own folder. Open a command prompt window like you did earlier in this new cgminer directory. Run this command in this command prompt, using the same credentials you set earlier. cgminer --blake256 -o 127.0.0.1:19109 -u user -p pass This will launch the GPU miner, and the output should look something like: cgminer version 3.7.2 - Started: [2016-01-27 21:38:43] ---------------------------------------------------------- (5s):1.162G (avg):1.859Gh/s | A:0 R:0 HW:0 WU:125.8/m Good luck!
Does this mean that coins mined (in Windows, with TLS disabled) will not find their way into the wallet? Will there be support (or a workaround, like there is in Linux) for using TLS with cgminer?
Thanks for this David, has helped me! Connected to testnet fine, but having trouble with the below. Code: dcrd --testnet -u user -P pass /notls --miningaddr=TsoEdubgeuLP3izLNxxxxxxxxxxxxxxx I don't understand, am i supposed to create a wallet first using dcrwallet? What about the one I created from the Airdrop Confirmation?
Testnet addresses begin with Ts, live addresses begin with Ds. You will need to generate a Testnet address to work on the Testnet, the Airdrop address you generated earlier will be used to receive coins when the Mainnet launches, hopefully in about a week.(though it could be longer depending on how testing goes this week)
Yes... use the command Code: dcrwallet --create to create a wallet for testnet. The one you created from the Airdrop confirmation is for mainnet (in roughly a week or so, so long as no major issues arise during this testnet phase). The commands I listed in the guide above are meant to be initiated in order, from top to bottom. (The wallet creation step is step # 2) The command that you quoted is meant to replace command #1. (The only thing that's different is that you are restarting the DCR daemon with an address of your wallet to use to send any mined coins to). So... first run this command: Code: dcrctl --testnet -u user -P pass --wallet getnewaddress /notls This will give you a brand new testnet address for your testnet wallet. Take the new testnet address (in the form of Txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) and add it to the command you quoted.. for instance: Code: dcrd --testnet -u user -P pass /notls --miningaddr=Txxxxxxxxxxxxxxxxxxxxxxx
Trying this dcrctl --testnet -u user -P pass --wallet getnewaddress /notls Anyone else getting/got: no connection could be made because the target machine actively refused ?
Hello David, dcrwallet: dcrwallet --create dcrwallet -u user -P pass --dcrdusername=user --dcrdpassword=pass /noclienttls /noservertls I cannot seem to get past the above step. I get the error 'INVALID PASSPHRASE FOR MASTER PUBLIC KEY'. Are the user and pass in dcrwallet and dcrdusername and dcrdpassword the same? --------------------------------------------------------------------------------------------------------------------------------------------- EDITED: (Solved)Thanks to kaida on irc #decred for the solution. If you had set up additional encryption during the wallet creation process, where it asked for a private passphrase and then for a public passphrase, you must do the following. The string becomes,i.e, you should add --walletpass publicpassphrase Code: dcrwallet -u user -P pass --walletpass publicpassphrase --dcrdusername=user --dcrdpassword=pass /noclienttls /noservertls ---------------------------------------------------------------------------------------------------------------------------------------------
select in step: dcrwallet -u user -P pass --dcrdusername=user11 --dcrdpassword=pass11 /noclienttls /noservertls user and password, that you used when you call dcrd (dcrd --testnet -u user11 -P pass11 /notls)
How to remove wallet? Why it's not possible to create many wallets? (output is "The wallet already exists.") the same for me
Why do you need multiple wallets? You can just use dcrlt to create a new "address", don't see the advantage of having multiple wallets.
Well than, remove the entire wallet folder. "windows: AppData/local/Decredwallet" i believe. And create a new one.
How to check current ticket price / PoS difficulty? Is there also a way to check how many active tickets you have and amount of free & locked coins in the wallet? How to see the list of all my addresses in the wallet? Is there a way to add manually new address to the wallet? I generated new First Address with: dcraddrgen -testnet testaddr.decred And now I want to use that address in already existing wallet, is this possible?
getstakedifficulty & ticketsforaddress "[your address]" might help. Last two you can set with "balancetomaintain" while launching wallet