Author Topic: Bug - BitBTC:BTS trade missing funds!  (Read 1581 times)

0 Members and 1 Guest are viewing this topic.

Offline vikram

pc is right, the BTS did indeed get paid out correctly into the above balance.

OP looks like you have discovered a previously unknown bug with market payouts in the transaction history. I will take a look at it: https://github.com/BitShares/bitshares/issues/1486

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
I believe that the transaction history is wrong (it is known to be buggy), and that your actual balance includes the funds that seem to be missing.
Can you confirm if that is or is not the case?

Code: [Select]
>>> blockchain_list_address_balances BTSKaTSAwJMqF7dBDvStKmc9HZzNrg3RaGDe
[[
    "BTSC5kTcnNTvTY1EQBpS3G5TSgC6fYxEXHJP",{
      "condition": {
        "asset_id": 0,
        "slate_id": 0,
        "type": "withdraw_signature_type",
        "data": {
          "owner": "BTSKaTSAwJMqF7dBDvStKmc9HZzNrg3RaGDe",
          "memo": null
        }
      },
      "balance": 1657031250,
      "restricted_owner": null,
      "snapshot_info": null,
      "deposit_date": "2015-03-30T19:54:20",
      "last_update": "2015-03-30T19:54:20",
      "meta_data": null
    }
  ]
]
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline mdj

  • Full Member
  • ***
  • Posts: 192
    • View Profile
  • BitShares: mdj
blockchain_list_market_transactions 2158767 lists 4 transactions related to your BID, not just two:

.00000001 BTC ->      .00070 BTS
.00099999 BTC ->    37.79962 BTS
.04842971 BTC ->  1830.64306 BTS
.38893833 BTC -> 14701.86912 BTS
==========================
.43836804 BTC -> 16570.31250 BTS

If you issue the command wallet_account_transaction_history in the console, do you see these 4 or only the 2 that are also in the GUI?

I'm only seeing the two transactions:


 2015-03-30T19:54:18 2158766   mdj                 BID-9cae1036        0.43836804 BTC          buy BTS @ 0.000026455026 BTC / BTS          0.50000 BTS         0e0d46fc
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2015-03-30T19:54:30 2158767   BID-9cae1036        MARKET              0.00099999 BTC          pay bid @ 0.000026455026 BTC / BTS          0.00000 BTS         VIRTUAL |
|                              BID-9cae1036        mdj                 37.79962 BTS            bid proceeds @ 0.000026455026 BTC / BTS                                 |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2015-03-30T19:54:30 2158767   BID-9cae1036        MARKET              0.38893833 BTC          pay bid @ 0.000026455026 BTC / BTS          0.00000 BTS         VIRTUAL |
|                              BID-9cae1036        mdj                 14,701.86912 BTS        bid proceeds @ 0.000026455026 BTC / BTS                                 |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Edit: I've tried rescanning and regenerating keys, what else can I try?
« Last Edit: March 31, 2015, 09:34:49 am by mdj »

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
blockchain_list_market_transactions 2158767 lists 4 transactions related to your BID, not just two:

.00000001 BTC ->      .00070 BTS
.00099999 BTC ->    37.79962 BTS
.04842971 BTC ->  1830.64306 BTS
.38893833 BTC -> 14701.86912 BTS
==========================
.43836804 BTC -> 16570.31250 BTS

If you issue the command wallet_account_transaction_history in the console, do you see these 4 or only the 2 that are also in the GUI?
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline mdj

  • Full Member
  • ***
  • Posts: 192
    • View Profile
  • BitShares: mdj
I just put up a sell order of 0.43836804 BitBTC with an ask of:
"buy BTS @ 0.000026455026 BTC / BTS 0.43836804 BTC 03/30/2015 8:54 PM"

This is:
0.43836804/0.000026455026 == 16570.312197

Transaction #0e0d46fc
Block #2158766 , Transaction #0 , Next #0
TimeStamp: 03/30/2015 8:54 PM

My BitBTC Sell Orders are empty and my BitBTC balance is zero yet I only received 14739.66874.

14739.66874 / 0.43836804 = 33623.958398.

Where are the missing 1830.64 BTS?

I have restarted the client and refreshed etc. Any commands I can use in console? Don't really want to have to rescan entire blockchain if I can help it.



EDIT: I rescanned blockchain and the BTS is still missing.
« Last Edit: March 30, 2015, 09:40:31 pm by mdj »