3s3s / opentrade

OpenTrade - Open Source Cryptocurrency Exchange
MIT License
396 stars 401 forks source link

Balance of the fictional account #291

Closed zoowcoin closed 5 years ago

zoowcoin commented 5 years ago

I have an exchange account with a problem, the account has a part of the fictitious balance. How can I fix?

3s3s commented 5 years ago

Try fix it in admin panel.

zoowcoin commented 5 years ago

how?

3s3s commented 5 years ago
  1. login as admin
  2. go to "Admin Area" - "Users"
  3. Find user by login and copy the first integer (user id)
  4. go to "Admin Area" - "Check Balance" and find all balances by user id
  5. click the button "Fix balance"
zoowcoin commented 5 years ago

I did it but it does not do anything. Yesterday I made a withdrawal but this appeared in the history, the withdrawal came to the wallet, but for some reason was added to the account of the exchange fictitious without being. error

zoowcoin commented 5 years ago

send to the exchange's wallet to cover that fictitious balance but nothing

ghost commented 5 years ago

your problem same like me.. old data does not change and only shows the same number even if it has been withdrawn

zoowcoin commented 5 years ago

Now the deposits do not work and also in the withdrawals it says that there is not enough balance. Urgent! What can be done?

3s3s commented 5 years ago

Seems because you have deleted your wallet.dat for yourcoin transactions from old wallet is saved in accountserver so if you need to renew wallet.dat then you should

  1. stop the accountserver
  2. delete sqlite_accounts.db
  3. start the accountserver and wait till new database will filled wirh new transactions.
  4. after all, you need to fix all balances manually throw the admin panel

sqlite_accounts.db got info from wallet.dat only and it will filled automatically. Users info should not be loss. But in future versions, the accountserver will self generate pairs account-address, so avoid the similar mistakes in the future.

ghost commented 5 years ago

I have tried this way but become a disorder. where I check the coin-cli getbalance is true. but when I check the coins of the account getbalance. he points to incorrect number .. what happens in wallet.dat or sqlite.db?

zoowcoin commented 5 years ago

No working, this same problem

ghost commented 5 years ago

I have encountered this problem .. It concerns coin daemon name.

When you register a coin in the form you need to use the coin name by coin daemon name.

You can not use short names as they cause RPC command get errors.

example: your daemon is coinextrad you need to fill in the name on the add coin form is COINEXTRA you can not shorten the name.