Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Wallet import crashes, older imports lose balance.  (Read 284 times)

0 Members and 1 Guest are viewing this topic.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Wallet import crashes, older imports lose balance.
« on: August 30, 2014, 05:29:19 PM »

So I backup my data folders and my wallets religiously before/after each update.

With the new version, I can download sync/etc but only with a fresh install/clean data folder.

However trying to import the wallets crashes the system completely.

Someone said that wallets are deterministic and you can never lose the information, so long as you have the private key and the password.

So I figured ok, tried to import an older wallet - voila it didn't crash... HOWEVER I see 0 balances, and transaction show as sent to "UNKNOWN".

Given that I have the JSON from before that happened, could that still be used somehow to recover these UNKNOWN transactions?

Also, what about the people who ONLY exported the "bad" wallet ( I think this started in 0.4.8 )

« Last Edit: August 30, 2014, 05:31:47 PM by bitmeat »

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Wallet problems...
« Reply #1 on: August 30, 2014, 05:30:56 PM »
Also worth noting, I thought this was a Windows problem. I did try to import the wallet on Ubuntu, it generated seg-fault.

How do I maximize the debug logging, so we can examine that?

Offline bytemaster

Re: Wallet import crashes, older imports lose balance.
« Reply #2 on: August 30, 2014, 06:49:02 PM »
Code: [Select]
wallet_recover_accounts <accounts_to_recover> [maximum_number_of_attempts]                         
wallet_recover_transaction <transaction_id_prefix> [recipient_account] 

In the 0.4.10 release these methods may help you recover balances and recipient information. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline liondani

Re: Wallet import crashes, older imports lose balance.
« Reply #3 on: August 30, 2014, 07:35:06 PM »
with the json file you had problems try this: open it with a text editor and go to the last lines...  2 or 3 lines before the last line erase the last coma ( , ) and save the file.  Try importing the json file again from your wallet  :)
It was a wallet version that did that "mistake" , maybe you had make an export with the wallet that had this issue...
  https://bitshares.OPENLEDGER.info/?r=GREECE  | You are in Control | BUY | SELL | SHORT | SWAP | LOAN | TRADE |  

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Wallet import crashes, older imports lose balance.
« Reply #4 on: August 30, 2014, 07:49:32 PM »
with the json file you had problems try this: open it with a text editor and go to the last lines...  2 or 3 lines before the last line erase the last coma ( , ) and save the file.  Try importing the json file again from your wallet  :)
It was a wallet version that did that "mistake" , maybe you had make an export with the wallet that had this issue...

I tried that, turned out this didn't have the comma.

I am more concerned that importing an older wallet makes the account unrecoverable.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Wallet import crashes, older imports lose balance.
« Reply #5 on: August 30, 2014, 07:49:53 PM »
In the 0.4.10 release these methods may help you recover balances and recipient information.

I don't see 0.4.10 in the tags on GitHub.

Offline bytemaster

Re: Wallet import crashes, older imports lose balance.
« Reply #6 on: August 30, 2014, 07:56:22 PM »
In the 0.4.10 release these methods may help you recover balances and recipient information.

I don't see 0.4.10 in the tags on GitHub.

Master branch.. 0.4.10 has not been finalized.  I am working on some wallet stuff now.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Wallet import crashes, older imports lose balance.
« Reply #7 on: August 30, 2014, 08:02:56 PM »
In the 0.4.10 release these methods may help you recover balances and recipient information.

I don't see 0.4.10 in the tags on GitHub.

Master branch.. 0.4.10 has not been finalized.  I am working on some wallet stuff now.

What you said about the recovery not taking into account market transactions, that makes sense. My last transactions are actually orders, so perhaps that's why old wallet doesn't get recovered.

I'll sync to master and rebuild and report back.


Offline vikram

Re: Wallet import crashes, older imports lose balance.
« Reply #8 on: September 01, 2014, 09:45:38 PM »
Are you letting the blockchain sync before importing the wallet backups? You will not see your balances before the chain is synced. Others have reported crashes when importing before fully synced.

 

Google+