when I try these commands, It gives me an error "401 unauthorized" can you tell me the command to get access to the wallet? I presume it is locked somehow?
can you paste your whole command you are using? you have to use those with dcrdtl. for example dcrctl --notls --testnet -u user -P pass --wallet getnewaddress
I'm using: dcrctl --testnet --notls -u "My Username" -P "My Password" --wallet listtransactions this returns error: 401 unauthorized. at the same time in a different command window I have the wallet opened up, I can see activity including DCRW: Unauthorized client connection attempt so the question is, what username and password do I need? As far as I know, I only have a username and pass for the deamon. There is no username on my wallet right? Only the private and public keys that I chose when creating. Do you have a working example? Maybe the command is wrong.
If you chose to create a publicpassphrase for the wallet, you need to add --walletpass "Yourpublicpassphrase" to that command and every dcrctl command.
every time i open my wallet now its been setup has been with this command :- dcrwallet -u xxxxx -P xxxxxx --noclienttls --noservertls --walletpass xxxxxxx --dcrdusername=xxxxx --dcrdpassword=xxxxxx Hope this can be of some help.
I did create a public passphrase but dcrctl does not recognise command --walletpass oh wait, It does something when I use following command: dcrctl --testnet --wallet listtransactions --notls
once your wallet is open in its own window, use another window and use these commands. hope they may of been of some help dcrctl --testnet -u xxxxxx -P xxxxxx --wallet getbalance --notls dcrctl --testnet -u xxxxxx -P xxxxxx --wallet listtransactions --notls
I think thats all , deamon running, wallet running, mining is stable and I can see transactions and actual decreds in the wallet.. so seems to work just fine now, could not have done it without this forum. thanks
Stupid question, but once hardware is all tuned and solving blocks is there any point to keep mining on testnet? The coins will have no value...or am I wrong.
There is none other than continued testing of the network and software. You're correct that testnet coins have no value on mainnet.
didnt even know that myself, i wish i knew this a week ago, could of put my miners somewhere profitable
So when testnet ends, a new blockchain is released under a different name and setup should be similar?