Author Topic: Wallet troubleshooting  (Read 3433 times)

0 Members and 1 Guest are viewing this topic.

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Its not a bug .. its on purpose for delegate accounts for timing reasons ... GUI users should NEVER have a delegate active .. thats why you cannot register as delegate in more recent GUI versions .. still available in cli though

Its a known issue? Ok.

This seems like it might happen again. A startup log entry that indicates transaction scanning is off once you have created a delegate might help users with troubleshootng.

In case anyone else has a missing balance\transaction problem and you get an error running:wallet_recover_transaction  ######## accountname, then try: wallet_set_transaction_scanning true.

Thanks again,
Gnarl

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Its not a bug .. its on purpose for delegate accounts for timing reasons ... GUI users should NEVER have a delegate active .. thats why you cannot register as delegate in more recent GUI versions .. still available in cli though

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
if you have a delegate in the wallet .. the software does not scan transactions ..

doe sth like. wallet_delegate_set_transaction_scanning false

And do a rescan

Thank you very much!

This command fixed the vote transaction:  wallet_set_transaction_scanning true
The "-> to Self" part of the Vote_all transaction appeared immediately, and my entire balance is back.

This is a pretty serious defect on the heart-attack scale. If I can reproduce it where should I file it?



Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
if you have a delegate in the wallet .. the software does not scan transactions ..

doe sth like. wallet_delegate_set_transaction_scanning false

And do a rescan

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
I have found errors that may help track this down.

There are 2 errors in the default.log
Message from GUI: rpc error: In method 'wallet_get_transaction_fee': Assert Exception (10)
arec.valid():  (500)         Utilities.cpp:2820141005T231354.637282        th_a:?unnamed?         
log_message ] Message from GUI: js error: JSON Parse error: Unterminated string parse@[native code]

This error is logged running> wallet_recover_transaction ######## accountname
rebroadcasting... client.cpp:106620141006T034942.462359        th_a:?unnamed?         
log_message ] Message from GUI: js error: undefined is not an object (evaluating 'c.balances[d].BTSX.amount')

Blockchain logs are all 0 byte, does logging need to be enabled somewhere?

Any suggestions would be great.



Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
I have a problem with a vote transaction, my balance disappeared after voting.

I imported my pts and was checking out the Keyid wallet, and voted for a new account I had just registered.
I did a vote_all and vote_random successfully, and then after setting up a delegate tried vote_random again. This transaction send my entire balance away.
The transaction says username > self, but the full amount of my balance has been gone since yesterday.

Troubleshooting
I have tried rescan, wallet_rescan_blockchain, and restarts which did not help.
wallet_get_pending_transaction_errors  showed me the error, the vote that sent my entire balance is now an Expired Transaction.
"code": 31010, "name": "expired_transaction",

blockchain_get_transaction can list it, but wallet_recover_transaction gives this error: RPC Server Error: JSON Parse error: Unterminated string
The rpc and blockchain log files are empty, or I would provide more info.

Any ideas on recovering the transaction?