There are 4 types of passwords One you use with dcrd one you use with dcrwallet & dcrctl privatepassphrase which is entered at start of wallet creation and is mandatory publicpassphrase which is also created during wallet creation but is not mandatory. You can skip this one by choosing no during wallet creation process.
Got the dcrd one (from my example: Thisshitdonedrovemecrazy!) When did I create a passphrase for dcrwallet? Got this, ok. Same as the one in number 1. Ok so this one should be good too. (The "I cannot keep up here" passphrase) So am I creating the dcrwallet password (and username) in the command line below?
I started mining succesfully using these commands step by step, I thought I'd share it. some commands are capital sensitive. start the deamon on your local pc and connect it to testnet: 1. new cmd window (leave open) --> dcrd --testnet -u user -P password --notls (make up your own user / pass) then create the wallet: 2. new cmd window --> dcrwallet --create after wallet created successfully, remember chosen private and public passwords. then new cmd window, 3. dcrwallet --walletpass YOURPUBLICKEY --dcrdusername=user --dcrdpassword=password --noclienttls --noservertls (use user/pass from step 1) at this point your new wallet will be opened, leave this cmd open. 4. new cmd window --> dcrctl --testnet --wallet getnewaddress --notls this will request a decred address and add it to your wallet, think of it as a receive address (this command will only work with wallet open in background) copy the address it gives you and save it somewhere 5. go to your first cmd window (the deamon) and close it then restart the deamon using your new walletaddress. new cmd window --> dcrd --testnet -u user -P password --miningaddr=PASTETHENEWWALLETADDRESSJUSTCREATED --notls (again, same user/pass as step 1) at this point you should see the wallet processing blocks, the deamon should do the same, if you put them next to each other you should see the block count is the same. at this point you can start mining with cgminer cgminer --blake256 -o 127.0.0.1:19109 -u user -p password (again, same password as step 1) with the wallet opened up from step 3 you can check your balance: new window --> dcrctl --testnet --wallet getbalance --notls
OK, I figured it out guys. I knew it would be something stupid... I had spaces in my public pasphrase and it was telling me that the passphrase was an invalid format. I deleted the wallet and created a passphrase that does not have any spaces in it and now it works. Sorry, I'm brand new to all of this and I was quite confused there for a bit. Well I still am, but it's getting better. Thanks!
For future reference, you can have spaces in the public passphrase, you just need enclose it with quotes. e.g -P "this is my password"
For reference, a new Windows cgminer binary will be released today that works properly with TLS and has a new parameter "-cert" to specify the appropriate certificate. The included start_local.bat will now include the new -cert parameter with it pointed at the default location. In other words, once the binaries are released, I'd suggest this guide be updated to remove all of the --notls, --noclienttls, and --noservertls switches everywhere since they will no longer be necessary.
New binaries are out: https://github.com/decred/cgminer/releases As previously mentioned, I'd recommend the guide be updated to remove all references to --notls, --noclienttls, and --noservertls.
@anondran: FYI, I noticed the linux section still has "The --notls commands can be removed for Linux." Looks like a holdover from before the recent notls updates.
Urgent question: can I request my wallet address while dcrd is still running lines? Thanks for your fast response! EDIT: just decided to hit enter... it seems that everything is running fine.
Hi anandron, Have you figured this one out yet? I'm wondering: prior to Mainnet, should I delete all the files I downloaded as well as the files created in my users/.../appdata/... folders, then download the official mainnet release files to start fresh Sunday after noon?
I think the answer is Yes, you would have got a seed during your Airdrop confirmation process. Delete your current wallet and you can create a new one using that seed
You can have simultaneous testnet and mainnet wallets. The current build of the wallet is on testnet by default and requires the "--mainet" flag to use mainnet, however once mainnet comes out, the wallet will be on mainnet by default and will require the "--testnet" flag to use testnet just like dcrd currently does. In other words, once the mainnet build comes out, the curent commands for dcrwallet will "magically" be for mainnet.