BitShares Forum

Main => Technical Support => Topic started by: iamabtsgirl on February 05, 2015, 08:21:53 pm

Title: Cancelled short funds missing
Post by: iamabtsgirl on February 05, 2015, 08:21:53 pm
I canceled a short but the amount never go back to my account . I checked the transaction the amount actually went to a address which is not belong to me  "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb"

following is transaction info.  please help me to find out the problem
Code: [Select]

2015-01-31T19:27:33 1669664   SHORT-6fa84a05      @@@@@              100,000.00000 BTS       cancel SHORT-6fa84a05                       ,******.90000 BTS     0.10000 BTS         605c601b
Title: Re: it must be a BUG in shorting
Post by: toast on February 05, 2015, 08:42:39 pm
That address has no funds and that transaction isn't even in the blockchain.

You you type "enable_raw" and then "get_transaction 605c601b" and post the raw json?
Title: Re: it must be a BUG in shorting
Post by: iamabtsgirl on February 05, 2015, 08:51:43 pm
Code: [Select]



 get_transaction 605c601b

{



[quote author=toast link=topic=14042.msg182748#msg182748 date=1423168959]
That address has no funds and that transaction isn't even in the blockchain.

You you type "enable_raw" and then "get_transaction 605c601b" and post the raw json?
[/quote]
Title: Re: it must be a BUG in shorting
Post by: toast on February 05, 2015, 08:57:18 pm
That address is the same address that created the short. You cannot have generated the transaction without signing for that address. Maybe try "wallet_regenerate_keys 11000" and then "scan" ?

You definitely have the key for it, unless you switched wallets.
Title: Re: it must be a BUG in shorting
Post by: iamabtsgirl on February 05, 2015, 09:03:24 pm

tried "wallet_regenerate_keys 80000" yesterday but useless
That address is the same address that created the short. You cannot have generated the transaction without signing for that address. Maybe try "wallet_regenerate_keys 11000" and then "scan" ?

You definitely have the key for it, unless you switched wallets.
Title: Re: it must be a BUG in shorting
Post by: BTSdac on February 06, 2015, 04:35:42 am
That address is the same address that created the short. You cannot have generated the transaction without signing for that address. Maybe try "wallet_regenerate_keys 11000" and then "scan" ?

You definitely have the key for it, unless you switched wallets.
Hi toast,
is there any possibly that scan wallet without child key , just use father key
Title: Re: it must be a BUG in shorting
Post by: vikram on February 06, 2015, 07:04:54 pm
I canceled a short but the amount never go back to my account . I checked the transaction the amount actually went to a address which is not belong to me  "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb"

following is transaction info.  please help me to find out the problem
Code: [Select]

2015-01-31T19:27:33 1669664   SHORT-6fa84a05      @@@@@              100,000.00000 BTS       cancel SHORT-6fa84a05                       ,******.90000 BTS     0.10000 BTS         605c601b

The short cancel and subsequent deposit are both controlled by address "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb". You have to control this address otherwise it would have been impossible for you to cancel the order.

If you do "wallet_dump_private_key BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb", do you see your private key?
Title: Re: it must be a BUG in shorting
Post by: iamabtsgirl on February 09, 2015, 11:38:56 pm
I did the cmd and got my private key. but my 100000bts cancel  order still not return back to my account
I canceled a short but the amount never go back to my account . I checked the transaction the amount actually went to a address which is not belong to me  "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb"

following is transaction info.  please help me to find out the problem
Code: [Select]

2015-01-31T19:27:33 1669664   SHORT-6fa84a05      @@@@@              100,000.00000 BTS       cancel SHORT-6fa84a05                       ,******.90000 BTS     0.10000 BTS         605c601b

The short cancel and subsequent deposit are both controlled by address "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb". You have to control this address otherwise it would have been impossible for you to cancel the order.

If you do "wallet_dump_private_key BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb", do you see your private key?
Title: Re: it must be a BUG in shorting
Post by: vikram on February 10, 2015, 12:11:45 am
It looks like the refund was returned to:
Code: [Select]
income (locked) >>> blockchain_list_address_balances BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb
[[
    "BTSCbUjdFLjUpjCtUJyazyhEJmCg8oJr6Aun",{
      "condition": {
        "asset_id": 0,
        "slate_id": 0,
        "type": "withdraw_signature_type",
        "data": {
          "owner": "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb",
          "memo": null
        }
      },
      "balance": 0,
      "restricted_owner": null,
      "snapshot_info": null,
      "deposit_date": "2015-01-31T19:27:30",
      "last_update": "2015-01-31T20:27:20",
      "meta_data": null
    }
  ]
]

Which is now empty and the balance was spent by this transaction:
Code: [Select]
"8a0b6d297be9438cc8ba3385c6c78caa565f2da7": {
    "timestamp": "2015-01-31T20:27:30",
......
  "type": "withdraw_op_type",
            "data": {
              "balance_id": "BTSCbUjdFLjUpjCtUJyazyhEJmCg8oJr6Aun",
              "amount": 9999990000,
              "claim_input_data": ""
            }

Did you overlook spending the funds in transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 ?
Title: Re: it must be a BUG in shorting
Post by: iamabtsgirl on February 10, 2015, 12:37:59 am
what do you mean? how can i check if 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 transaction is mine.

This amount  never return back to my account . no sure what happened ? i did many time of wallet_regenerate_keys  but does not help

I tried
Code: [Select]
>> wallet_dump_private_key  BTSCbUjdFLjUpjCtUJyazyhEJmCg8oJr6Aun

null

It looks like the refund was returned to:
Code: [Select]
income (locked) >>> blockchain_list_address_balances BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb
[[
    "BTSCbUjdFLjUpjCtUJyazyhEJmCg8oJr6Aun",{
      "condition": {
        "asset_id": 0,
        "slate_id": 0,
        "type": "withdraw_signature_type",
        "data": {
          "owner": "BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb",
          "memo": null
        }
      },
      "balance": 0,
      "restricted_owner": null,
      "snapshot_info": null,
      "deposit_date": "2015-01-31T19:27:30",
      "last_update": "2015-01-31T20:27:20",
      "meta_data": null
    }
  ]
]

Which is now empty and the balance was spent by this transaction:
Code: [Select]
"8a0b6d297be9438cc8ba3385c6c78caa565f2da7": {
    "timestamp": "2015-01-31T20:27:30",
......
  "type": "withdraw_op_type",
            "data": {
              "balance_id": "BTSCbUjdFLjUpjCtUJyazyhEJmCg8oJr6Aun",
              "amount": 9999990000,
              "claim_input_data": ""
            }

Did you overlook spending the funds in transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 ?
Title: Re: it must be a BUG in shorting
Post by: vikram on February 10, 2015, 02:12:39 am
What is output if you do "wallet_scan_transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 true" ?
Title: Re: it must be a BUG in shorting
Post by: iamabtsgirl on February 10, 2015, 03:22:15 pm
following is the output . but nothing return back to my account . that 100K is still missing

I just remembered that I canceled the short order and did "vote_all" right after then the 100K never back to my wallet.

If you can identify this problem then it is a good chance to catch this bug.
 
Code: [Select]

wallet_scan_transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 true

 TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2015-01-31T20:27:30 1670016   SHORT-78364eb0      UNKNOWN             1,568,912.39999 BTS                                                 0.10000 BTS         8a0b6d29|
|                              f****u             f****u                1,568,912.29999 BTS     vote_all                                                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What is output if you do "wallet_scan_transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 true" ?
Title: Re: it must be a BUG in shorting
Post by: abit on February 10, 2015, 05:14:24 pm
After the vote the balance is moved to BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD
Code: [Select]
(wallet closed) >>> blockchain_get_block_transactions 1670016
[[
    "8a0b6d297be9438cc8ba3385c6c78caa565f2da7",{
      "trx": {
        "expiration": "2015-01-31T21:32:28",
        "slate_id": null,
        "operations": [{
             "type": "deposit_op_type",
            "data": {
              "amount": 156891229999,
              "condition": {
                "asset_id": 0,
                "slate_id": 3370756005476532118,
                "type": "withdraw_signature_type",
                "data": {
                  "owner": "BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD",
                  "memo": {
                    "one_time_key": "BTS7HrbzaiMqkUeTsV8fryJvZ8SX5mR9GfPhdThkqLdgDfVtXazZm",
                    "encrypted_memo_data": "59a835bf20476cf790bee36c4fedd4c1956437f8e8b737e4c174ca89f94221e285a3fe0fb74371ed05bb53d94e17e454c0527126bc0a22929e9618415ea1fb24"
                  }
                }
              }
            }
          }
...
However it's 0 again
Code: [Select]
>> blockchain_list_address_balances BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD

[[
    "BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2",{
      "condition": {
        "asset_id": 0,
        "slate_id": 3370756005476532118,
        "type": "withdraw_signature_type",
        "data": {
          "owner": "BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD",
          "memo": {
            "one_time_key": "BTS7HrbzaiMqkUeTsV8fryJvZ8SX5mR9GfPhdThkqLdgDfVtXazZm",
            "encrypted_memo_data": "59a835bf20476cf790bee36c4fedd4c1956437f8e8b737e4c174ca89f94221e285a3fe0fb74371ed05bb53d94e17e454c0527126bc0a22929e9618415ea1fb24"
          }
        }
      },
      "balance": 0,
      "restricted_owner": null,
      "snapshot_info": null,
      "deposit_date": "2015-01-31T20:27:20",
      "last_update": "2015-02-06T16:50:00",
      "meta_data": null
    }
  ]
]

following is the output . but nothing return back to my account . that 100K is still missing

I just remembered that I canceled the short order and did "vote_all" right after then the 100K never back to my wallet.

If you can identify this problem then it is a good chance to catch this bug.
 
Code: [Select]

wallet_scan_transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 true

 TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2015-01-31T20:27:30 1670016   SHORT-78364eb0      UNKNOWN             1,568,912.39999 BTS                                                 0.10000 BTS         8a0b6d29|
|                              f****u             f****u                1,568,912.29999 BTS     vote_all                                                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What is output if you do "wallet_scan_transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 true" ?
Title: Re: it must be a BUG in shorting
Post by: abit on February 10, 2015, 05:50:35 pm
The balance became less while voting at block 1720344:
Code: [Select]
>> blockchain_get_block_transactions 1720344

[[
    "e102d6eb0548991d403ec5c76f192469bc351faf",{
      "trx": {
        "expiration": "2015-02-06T17:57:24",
        "reserved": null,
        "operations": [{
            "type": "deposit_op_type",
            "data": {
              "amount": 136891179999,
              "condition": {
                "asset_id": 0,
                "slate_id": 1832704065200434438,
                "type": "withdraw_signature_type",
                "data": {
                  "owner": "BTSEnUYHEkFKX31A97VKyf7TvjZJZHHCLNmV",
                  "memo": {
                    "one_time_key": "BTS5NQPijZu4kw9hFjsAdY2R1trLjRmnpAs2cWgvrRB2ekyeuJYzv",
                    "encrypted_memo_data": "6bb9c247b7e665c4e5c6b6e1cd6249efe66b18fee2c99cae1265d0ed0280d52d2e9e85f92f57a9e826e7d6c45ca2a1d7c597243e8431be3eea8ffed6eb760530"
                  }
                }
              }
            }
...
            },{
            "type": "withdraw_op_type",
            "data": {
              "balance_id": "BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2",
              "amount": 136891189999,
              "claim_input_data": ""
            }
          }
        ]

So there must be something happened at that address between block 1670016 and 1720344. Maybe another short operation(s)?
Title: Re: it must be a BUG in shorting
Post by: iamabtsgirl on February 10, 2015, 07:34:56 pm
it is very weird... this 100k never return back to my account 
Title: Re: Cancelled short funds missing
Post by: vikram on February 11, 2015, 03:26:39 am
1. The short was cancelled by transaction 605c601b0361189a6b4facee0801be12a47cc342 and 99,999.9 BTS were returned to balance BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb controlled by address BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb.

2. The above balance BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb was withdrawn by transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 and collected into a total of 1,568,912.29999 BTS deposited into balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 controlled by address BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD.

3. The above balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 was withdrawn from 4 times and is now empty:
Title: Re: Cancelled short funds missing
Post by: iamabtsgirl on February 11, 2015, 03:20:05 pm
i am not able to get  private key for BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 from my wallet  and  100k still keep missing


1. The short was cancelled by transaction 605c601b0361189a6b4facee0801be12a47cc342 and 99,999.9 BTS were returned to balance BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb controlled by address BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb.

2. The above balance BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb was withdrawn by transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 and collected into a total of 1,568,912.29999 BTS deposited into balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 controlled by address BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD.

3. The above balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 was withdrawn from 4 times and is now empty:
  • Transaction: 72c8d6974df0a87757ce5ec0fc3ec80150178433, Amount: 0.2 BTS
  • Transaction: 462944a66c62f69232344e3167d61a5672be3ea3, Amount: 100,000.1 BTS
  • Transaction: 777de0a6492e7919dd75e5d932ea9dfe3a81530e, Amount: 100,000.1 BTS
  • Transaction: e102d6eb0548991d403ec5c76f192469bc351faf, Amount: 1,368,911.89999 BTS
Title: Re: Cancelled short funds missing
Post by: vikram on February 11, 2015, 08:39:00 pm
i am not able to get  private key for BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 from my wallet  and  100k still keep missing


1. The short was cancelled by transaction 605c601b0361189a6b4facee0801be12a47cc342 and 99,999.9 BTS were returned to balance BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb controlled by address BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb.

2. The above balance BTSNpRmxSoXfE5SuCcZqacNdc4QC8zWD5Pyb was withdrawn by transaction 8a0b6d297be9438cc8ba3385c6c78caa565f2da7 and collected into a total of 1,568,912.29999 BTS deposited into balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 controlled by address BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD.

3. The above balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 was withdrawn from 4 times and is now empty:
  • Transaction: 72c8d6974df0a87757ce5ec0fc3ec80150178433, Amount: 0.2 BTS
  • Transaction: 462944a66c62f69232344e3167d61a5672be3ea3, Amount: 100,000.1 BTS
  • Transaction: 777de0a6492e7919dd75e5d932ea9dfe3a81530e, Amount: 100,000.1 BTS
  • Transaction: e102d6eb0548991d403ec5c76f192469bc351faf, Amount: 1,368,911.89999 BTS

You need to do "wallet_dump_private_key BTSAyTEvB7WkJXxJExaWPqcgkhpdSnYDvDFD", which is the address that controls balance BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2 which is now empty. Did you perform the 4 withdrawals listed in #3? If so then the 100k is spent to wherever those transactions sent funds to.
Title: Re: Cancelled short funds missing
Post by: iamabtsgirl on February 12, 2015, 10:44:32 pm
the amount of tx_id 72c8d6974df0a87757ce5ec0fc3ec80150178433 is not 0.2 bts. please see following output


BTW. I never found the 100K canceled order return back to my account from my transaction history . i calculated my account  and shows it has 100k shortage
Code: [Select]


>> wallet_scan_transaction 72c8d6974df0a87757ce5ec0fc3ec80150178433 true

 TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2015-02-03T04:04:00 1689962   SHORT-53ef2f45      UNKNOWN             100,000.10000 BTS                                                   0.10000 BTS         72c8d697|
|                              f####u              ###2###             100,000.00000 BTS                                                                               |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Title: Re: Cancelled short funds missing
Post by: vikram on February 12, 2015, 11:06:40 pm
the amount of tx_id 72c8d6974df0a87757ce5ec0fc3ec80150178433 is not 0.2 bts. please see following output

Transaction 72c8d6974df0a87757ce5ec0fc3ec80150178433 withdrew 0.2 BTS from the relevant address and the remainder from another address:
Code: [Select]
        },{
          "type": "withdraw_op_type",
          "data": {
            "balance_id": "BTS3utB1Z9V2Nc5tUocGVXAxUmzhFa1J63ja",
            "amount": 9999990000,
            "claim_input_data": ""
          }
        },{
          "type": "withdraw_op_type",
          "data": {
            "balance_id": "BTSH3F7MrM6fgavoAdJVXvHiqUxdVF7ZCkL2",
            "amount": 20000,
            "claim_input_data": ""
          }
        }

BTW. I never found the 100K canceled order return back to my account from my transaction history . i calculated my account  and shows it has 100k shortage
Code: [Select]


>> wallet_scan_transaction 72c8d6974df0a87757ce5ec0fc3ec80150178433 true

 TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2015-02-03T04:04:00 1689962   SHORT-53ef2f45      UNKNOWN             100,000.10000 BTS                                                   0.10000 BTS         72c8d697|
|                              f####u              ###2###             100,000.00000 BTS                                                                               |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

How are you calculating how much balance you should have? Note that the transaction history has known bugs and cannot always be relied upon to show correct amounts. However, the balance output by "wallet_account_balance" should always be the correct amount.
Title: Re: Cancelled short funds missing
Post by: Riverhead on February 13, 2015, 05:30:38 pm

iambtsgirl it is being looked into.
Title: Re: Cancelled short funds missing
Post by: clayop on February 13, 2015, 07:04:20 pm
Maybe because of this?

|2015-02-03T04:04:00 1689962   SHORT-53ef2f45      UNKNOWN             100,000.10000 BTS                                                   0.10000 BTS         72c8d697|
|                              f####u              ###2###             100,000.00000 BTS                                                                               |
Title: Re: Cancelled short funds missing
Post by: why on February 13, 2015, 08:25:59 pm
r u serious? it just tried to fake out my account
Maybe because of this?

|2015-02-03T04:04:00 1689962   SHORT-53ef2f45      UNKNOWN             100,000.10000 BTS                                                   0.10000 BTS         72c8d697|
|                              f####u              ###2###             100,000.00000 BTS                                                                               |
Title: Re: Cancelled short funds missing
Post by: toast on February 17, 2015, 09:02:03 pm
I think it's because the chinese mods think you are sfinder.
Title: Re: Cancelled short funds missing
Post by: abit on February 19, 2015, 10:02:07 pm
Any update yet?

admin has too much power is not good  to this community . they just banned whatever they want without any reason.

 

iambtsgirl it is being looked into.

According to the information you provided, everything looks fine.
You need to provide more info so that the devs would be able to help:
How are you calculating how much balance you should have? Note that the transaction history has known bugs and cannot always be relied upon to show correct amounts. However, the balance output by "wallet_account_balance" should always be the correct amount.