Hdd Died - Cannot Import Previous Web Wallet

Discussion in 'Addresses' started by mrfr0sty, Aug 1, 2017.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    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?
     
  2. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    I do have the three command windows open as instructed.
     
  3. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
  4. Manlabor

    Manlabor New Member

    Dec 22, 2016
    19
    4
    Male
    US
    Anything being displayed in the dcrwallet window when you try the dcrctl commands?

    Try starting dcrwallet again.

    The correct password is without quotes.
     
    mrfr0sty likes this.
  5. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    dcrwallet is at the command prompt (following completion of the create step), it's not actively running like the dcrd window
     
  6. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    I've run dcrwallet again and entered my private passphrase, I get an error:

    Wallet Error.jpg
     
  7. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    dcrd is showing authentication errors as well now:

    DCRD Error.jpg
     
  8. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    Is the dcrwallet.conf file needed? There is an error message that it cannot be found in the screenshot of post #26.
     
  9. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
  10. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    Running the getbalance command gives me this (zero balance)

    Wallet zero balance.jpg
     
  11. David

    David Sr. Member

    Jan 22, 2016
    364
    207
    Male
    USA
    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!
     
    mrfr0sty likes this.
  12. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    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

    Address not found.jpg
     
  13. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    I'll try step #2 now
     
  14. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    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?
     
  15. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    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.
     
  16. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    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?
     
  17. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    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.
     
  18. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    Turns out that Discovering used accounts took 2 hours, then it progressed with a lot of information:

    Addridxscanlen completed.jpg

    then

    Add - Rescanning Blocks.jpg

    followed by

    Add - Blockchain sync completed.jpg

    Which says Blockchain sync completed, wallet ready for general use. It the continued on with:

    Add - Connecting Block.jpg

    Does this mean it has finished? #157368 is the current block height.
     
  19. Manlabor

    Manlabor New Member

    Dec 22, 2016
    19
    4
    Male
    US
    Thanks for posting the updates. Maybe time for a getbalance now?
     
  20. mrfr0sty

    mrfr0sty New Member

    Aug 1, 2017
    37
    0
    Male
    Singapore
    Getbalance is still 0 unfortunately
     

Share This Page