This part isn't working: Post https://localhost:9110: dial tcp [::1]:9110: connectex: No connection could be made because the target machine actively refused it. For password I've tried the private passphrase created in post #19 with and without "" Is the private passphrase the correct password?
Anything being displayed in the dcrwallet window when you try the dcrctl commands? Try starting dcrwallet again. The correct password is without quotes.
dcrwallet is at the command prompt (following completion of the create step), it's not actively running like the dcrd window
Is the dcrwallet.conf file needed? There is an error message that it cannot be found in the screenshot of post #26.
I've made some progress by manually creating a dcrwallet.conf and resetting the other two .conf files with a default username and password as described in this post (#15): https://forum.decred.org/threads/rpc-authentication-failure.487/
I'm glad to see you worked your way through setting up the CLI. I just came across this thread but I would have helped you out earlier had I seen it. Can you try a couple more things using the CLI tools? First off, just to let you know, you can use dcrctl -l (a lowercase L, not a one) to view all of the possible dcrctl flags and their requirements. You can also use the "dcrctl help <command>" or "dcrctl help --wallet <command>" to see more details and usage instructions about each flag. Use this when you get stuck. 1. Try running the 'getaccount' feature for each of the addresses your wallet has. Example: dcrctl -u USER -P PASS --wallet getaccount DscKDPyoT9dv2TBQqzP12Eb7sfmQQFbatF4 dcrctl -u USER -P PASS --wallet getaccount DsVdqcpDcVEyH3TxEnjbWs2KbWuv1z7bG5J dcrctl -u USER -P PASS --wallet getaccount Dsn3aYJQJ8TFcff1ZpB1cPr17T5JmKKi7DK dcrctl -u USER -P PASS --wallet getaccount Dsj3XmRh1PrWjNZASCeB7nbWwgkCWTkkkFE This command will check the addresses to see if they belong to your wallet. You should see this return simply "default" for each of the 4 addresses. If it says "-4: address not found in wallet" then we will have to keep looking. 2. IIRC this issue was fixed in a previous release, but it's worth a try. - Stop dcrwallet. - Delete the wallet.db file from it's default directory: C:\Users\Admin\AppData\Local\Dcrwallet\mainnet\wallet.db Or in Linux, I believe it's in ~/.dcrwallet/mainnet/wallet.db - Recreate your wallet by entering your seed like you did before, but when you start it up for the first time, use this command instead: (don't forget your username and password, unless you entered those in a configuration file) "dcrwallet /addridxscanlen=5000" - When the wallet is finished scanning through the blocks, check your balance again with: "dcrctl --wallet getbalance" Let us know how this process goes!
Hi David! I've tried the getaccount command. It does say default for the x4 addresses you listed. These were new ones created by my amateur recovery efforts. The address I've been using for mining, and the one that was lost on the failed HDD returns a -4 address not found error: dcrctl -u USER -P PASS --wallet getaccount DsnwUK4LdryEFmxPS3mpNWvZwgdjdmUASBE
Hi David, no luck unfortunately This is what I've tried: Step 1 1. Uninstall Decred from Control Panel \ Programs and Features 2. Manual deletion of the decred related folders in C:\users\jamie\appdata\local - Dcrctl - Dcrd - Dcrwallet 3. Manual deletion of the decred folder in C:\users\jamie 4. Reboot Step 2 5. Install dcrinstall-windows-amd64-v1.0.5.exe - Entered private passphrase - Additional layer of encryption for public data [no] - Do you have an existing wallet seed [yes] - Entered seed - Seed input successful 6. Launch Dcrd (12:23PM) 7. Launch https://stats.decred.org/ - to confirm current height (#157262) 8. Wait 2.5 hour for the blockchain to sync…zzz - Sync complete at 15:00PM (block #157300) Step 3 9. Launch Dcrwallet with command: dcrwallet /addridxscanlen=5000 - Error: unknown flag `addridxscanlen=5000' 10. Launch Dcrwallet with command dcrwallet --addridxscanlen=5000 - [INF] WLLT: Discovering used accounts (15:04PM) - [ERR] CHNS: Timeout waiting for session RPC (15:16PM) Step 4 11. Launch Dcrctl with command: dcrctl --wallet getbalance - Zero balance ☹ 12. Launch Dcrctl with command: dcrctl --wallet getaccount DsnwUK4LdryEFmxPS3mpNWvZwgdjdmUASBE - Error: -4: address not found in wallet Do you have anything else I can try?
Is the line - [INF] WLLT: Discovering used accounts supposed to be followed with a success message? I've run -addridxscanlen=5000 (10000 and 100000) and I always get the - [ERR] CHNS: Timeout waiting for session RPC about 10-15 minutes later.
I've just tried: dcrctl --wallet importaddress DsnwUK4LdryEFmxPS3mpNWvZwgdjdmUASBE -4: the client has been shutdown I do still have the dcrd and dcrwallet open, so not sure which client is shutdown?
I'm now running: dcrd --rpcuser="USER" --rpcpass="PASS" and dcrwallet -u "USER" -P "PASS" --addridxscanlen 50000 It's been sat at: [INF] WLLT: Discovering used accounts For about 80 minutes so far with no error message afterwards. I'm presuming that it is actually doing something, so I'll let it continue whilst I sleep.
Turns out that Discovering used accounts took 2 hours, then it progressed with a lot of information: then followed by Which says Blockchain sync completed, wallet ready for general use. It the continued on with: Does this mean it has finished? #157368 is the current block height.