Author Topic: !!! Stupid Questions Thread !!!  (Read 154904 times)

0 Members and 1 Guest are viewing this topic.

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #345 on: October 17, 2014, 04:44:40 pm »
The problem started like this:

BTER is again experiencing problems with BTSX products...

After failing repeatedly my BTSX and bitUSD withdrawals claiming my account is
not registered, I finally decide to use my public key. Now it says
-'Waiting for balance...' for 20 min already.
That is an issue we cannot help with .. because we just don't know what bter is
doing when you add a public key to that field .. which btw you are not supposed
to do as stated in RED letters next to the field!

Now the transfer is finalized supposedly... But I did not get the funds it seams. I found the transactions and tried
Code: [Select]
wallet_rescan_blockchain
wallet_recover_transaction <transaction_id_prefix> [recipient_account]   
and wallet_regenerate_keys <account_name> <max_key_number> 
Neither producing results.

The questions are:
Code: [Select]
blockchain_get_transaction <transaction_id>Provides several ids, neither one of them is the one I gave bter to transfer the funds to.
1. Is this how it is supposed to be?  How I check if they did send the funds to me and not somebody else?
2. I f not which of those has to be the one I (or whoever received the funds) is the id of the party receiving the funds. It has:

1.
Code: [Select]
"type": "withdraw_op_type",
        "data": {
          "balance_id": "BTSXA5eyQwJUPd4AmaudVx6u8aUpfKXk5VdYa",
2. 2 here:
Code: [Select]
["type": "deposit_op_type",
        "data": {
          "amount": 1625678000,
          "condition": {
            "asset_id": 0,
            "delegate_slate_id": 0,
            "type": "withdraw_signature_type",
            "data": {
              "owner": "BTSX3RF97vighDgFR7RGEoS8rpLYtJCE5xRm5",
              "memo": {
                "one_time_key": "BTSX8ak3SJFQdt7BgHpS3AawzhZe3mREqUHnPPwEYyJh6bLRSPVzhS",
3.
Code: [Select]
"provided_deposits": [[
      "BTSX9RptBKVDGHkZEn49TeDKS9ENBAQRaNoDT",{

The withdrawal btw should have gone to :
BTSX5e9S3uTdhLsKg7JwPFp79p4VscPAyrPHb4oUzy6kW9FzcirpEf

if this helps...

Due to the security and privacy features in BTSX (called TITAN) .. the
address/key you see in the transaction is linked to your (supposedly) account
name in a way that prohibits linking to your account if you are not holding the
private key. It' basically "stealth addresses" in bitcoin. Read more about this
in the wiki.bitshares.org

From where I stand, there is no way to say, if this transaction should end up
on your account or in someone elses account. However vikram (a core developer)
just recently added a new feature to the wallet that can tell you for sure if
the transaction went to your account or not .. but it's not released yet
(actually he pushed the code yesterday :) )

https://github.com/BitShares/bitshares_toolkit/issues/832#event-176959796

I'd recommend you contact BTER support and ask them what they did when you use
a pubkey instead of an account name

thanks...
and btw there are no red letters next to the box. Now, it simply says "Must be registered account on the blockchain or unregistered account KEY. "
« Last Edit: October 17, 2014, 04:56:16 pm by zerosum »

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #346 on: October 17, 2014, 05:44:20 pm »
Continuation on the prvious post....

It seem they (bter.com) also do not know what the client actually do (how it selects where/what key to, to send the funds to).
Let's start with something easier then -Which of the 4 keys listed below is actually receiving the transfer?

Code: [Select]
>> blockchain_get_transaction c854f6568de5786ea291baceb8ce6a2368ccd70d

{
  "trx": {
    "expiration": "20141017T070034",
    "delegate_slate_id": null,
    "operations": [{
        "type": "withdraw_op_type",
        "data": {
          "balance_id": "BTSXA5eyQwJUPd4AmaudVx6u8aUpfKXk5VdYa",
          "amount": 1625728000,
          "claim_input_data": ""
        }
      },{
        "type": "deposit_op_type",
        "data": {
          "amount": 1625678000,
          "condition": {
            "asset_id": 0,
            "delegate_slate_id": 0,
            "type": "withdraw_signature_type",
            "data": {
              "owner": "BTSX3RF97vighDgFR7RGEoS8rpLYtJCE5xRm5",
              "memo": {
                "one_time_key": "BTSX8ak3SJFQdt7BgHpS3AawzhZe3mREqUHnPPwEYyJh6bLRSPVzhS",
                "encrypted_memo_data": "e27f4f323d76452fbfc76bb57356174af0098787d6fb97901365aaa0ce53737f3a421b0f4bd823b8b3ecc17975f8467bc4891f2f5fe3ebc9cb531ab84ea38a62"
              }
            }
          }
        }
      }
    ],
    "signatures": [
      "1fccdfb8055003b68136f7c051ccba34df4a1b62b1f914053623c8e79e5954b98acb2194c585c51be348b2d298734f4a5ded1b68be9478e1df35fd579832eda91a"
    ]
  },
  "signed_keys": [],
  "validation_error": null,
  "required_deposits": [],
  "provided_deposits": [[
      "BTSX9RptBKVDGHkZEn49TeDKS9ENBAQRaNoDT",{
        "amount": 1625678000,
        "asset_id": 0
      }
    ]
  ],
  "deposits": [[
      0,{
        "amount": 1625678000,
        "asset_id": 0
      }
    ]
  ],
  "withdraws": [[
      0,{
        "amount": 1625728000,
        "asset_id": 0
      }
    ]
  ],
  "yield": [],
  "deltas": [[
      0,{
        "amount": -1625728000,
        "asset_id": 0
      }
    ],[
      1,{
        "amount": 1625678000,
        "asset_id": 0
      }
    ]
  ],
  "required_fees": {
    "amount": 0,
    "asset_id": 0
  },
  "alt_fees_paid": {
    "amount": 0,
    "asset_id": 0
  },
  "balance": [[
      0,
      50000
    ]
  ],
  "net_delegate_votes": [],
  "chain_location": {
    "block_num": 764180,
    "trx_num": 0
  }
}

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12915
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: !!! Stupid Questions Thread !!!
« Reply #347 on: October 17, 2014, 06:27:31 pm »
"withdraw_signature_type":
Code: [Select]
              "owner": "BTSX3RF97vighDgFR7RGEoS8rpLYtJCE5xRm5",

You could try the advices over in the wiki:
http://wiki.bitshares.org/index.php/RecoveringFunds
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline happybit

  • Full Member
  • ***
  • Posts: 87
  • Happy Bit!
    • View Profile
Re: !!! Stupid Questions Thread !!!
« Reply #348 on: October 17, 2014, 11:14:49 pm »

Quote
thanks...
and btw there are no red letters next to the box. Now, it simply says "Must be registered account on the blockchain or unregistered account KEY. "



Yes, I believe the "red message" is on btc38.com

Offline happybit

  • Full Member
  • ***
  • Posts: 87
  • Happy Bit!
    • View Profile
Re: !!! Stupid Questions Thread !!!
« Reply #349 on: October 17, 2014, 11:17:44 pm »
Ask him to join the the dev hangout tomorrow and talk to Dan himself. Most likely Dan might agree some standards could have been better followed.

Also even if your friend just wants to listen in it would give a much better feel for what the project all about right from the horse's mouth. A $50MM market cap, the fourth highest crypto on the planet, indicates that his opinion of it being "such , such a bad idea" is in the minority.

Come join us on tomorrow's dev chat. Come talk with us. The water's fine :) .

Sent from my SM-G900T using Tapatalk

Great! Thanks... I will... when exactly?

Where? the chat here, or is this a video chat?

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #350 on: October 18, 2014, 05:52:25 pm »
This is continuation of my questions started here https://bitsharestalk.org/index.php?topic=8390.msg131776#msg131776, which is several post before this one.

Ok This has a chance to be on the lead, as far as stupid questions go. Brace yourselves!

1.After figuring out, by their own admission, that even BTER.com does not know to what public key the funds are actually send, when the customer inputs a public key instead of registered account.

2. And seeing that the public key listed in the GUI is not the one I have given bter - I just gave them the one on the top of the list returned by the console.


I want to try:

Code: [Select]
wallet_account_update_active_key <account_to_update> <pay_from_account> [new_active_key] 
Using as a new_active_key the private key of the public key I gave bter.

Am I going to screw everything big time or am I gona find my missing funds?

Thanks in advance!

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12915
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: !!! Stupid Questions Thread !!!
« Reply #351 on: October 18, 2014, 06:01:32 pm »
This is continuation of my questions started here https://bitsharestalk.org/index.php?topic=8390.msg131776#msg131776, which is several post before this one.

Ok This has a chance to be on the lead, as far as stupid questions go. Brace yourselves!

1.After figuring out, by their own admission, that even BTER.com does not know to what public key the funds are actually send, when the customer inputs a public key instead of registered account.

2. And seeing that the public key listed in the GUI is not the one I have given bter - I just gave them the one on the top of the list returned by the console.
which command did you issue to get the key "on the top of the list returned by the console"?!


Quote
I want to try:

Code: [Select]
wallet_account_update_active_key <account_to_update> <pay_from_account> [new_active_key] 
Using as a new_active_key the private key of the public key I gave bter.

Am I going to screw everything big time or am I gona find my missing funds?
That command will definitly not help you! It's doing something competely different.
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #352 on: October 18, 2014, 06:12:45 pm »
This is continuation of my questions started here https://bitsharestalk.org/index.php?topic=8390.msg131776#msg131776, which is several post before this one.

Ok This has a chance to be on the lead, as far as stupid questions go. Brace yourselves!

1.After figuring out, by their own admission, that even BTER.com does not know to what public key the funds are actually send, when the customer inputs a public key instead of registered account.

2. And seeing that the public key listed in the GUI is not the one I have given bter - I just gave them the one on the top of the list returned by the console.
which command did you issue to get the key "on the top of the list returned by the console"?!

Code: [Select]
wallet_account_list_public_keys <account_name>   

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12915
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: !!! Stupid Questions Thread !!!
« Reply #353 on: October 18, 2014, 06:19:04 pm »
Code: [Select]
wallet_account_list_public_keys <account_name>   
wow .. that explains a lot ...

you 'real public key' is listed in "wallet_list_my_accounts"

but I think we can fix this:

1) take the pubkey you told BTER to send it it (NOT the one in the transaction) ..
2) console --> wallet_account_list_public_keys THEPUBKEY
3) you should get a private key as result ... starting with 5... !!! DO NOT SHARE!!!
4) console: importprivkey PRIVKEY mytempaccountnamefrombter true true          -- do it exactly like this .. replace your privkey
5) see your funds popup in your new account "mytempaccountnamefrombter" (local account)
6) move the funds to your 'real' account or what ever!

Good luck

edit: step 4 initiates a rescan .. and might take some minutes before complete .. you can check the progress with "getinfo"
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #354 on: October 18, 2014, 06:30:39 pm »
Code: [Select]
wallet_account_list_public_keys <account_name>   
wow .. that explains a lot ...

you 'real public key' is listed in "wallet_list_my_accounts"

but I think we can fix this:

1) take the pubkey you told BTER to send it it (NOT the one in the transaction) ..
2) console --> wallet_account_list_public_keys THEPUBKEY

Are you sure *_list_public_keys  should return private key?
Anyway I get:

Code: [Select]
>> wallet_account_list_public_keys "BTSX5e9S3uTdhLsKg7JwPFp79p4VscPAyrPHb4oUzy6kW9FzcirpEf"

20006 unknown_account: unknown account
Unknown account name!
    {}
    bitshares  wallet.cpp:6739 bts::wallet::wallet::get_public_keys_in_account

    {}
    bitshares  common_api_client.cpp:1475 bts::rpc_stubs::common_api_client::wallet_account_list_public_keys

    {"command":"wallet_account_list_public_keys"}
    bitshares  cli.cpp:556 bts::cli::detail::cli_impl::execute_command

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12915
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: !!! Stupid Questions Thread !!!
« Reply #355 on: October 18, 2014, 06:51:03 pm »
woops .. typo

shoule be

wallet_dump_private_key BTSX5e9S3uTdhLsKg7JwPFp79p4VscPAyrPHb4oUzy6kW9FzcirpEf
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #356 on: October 18, 2014, 06:59:07 pm »
woops .. typo

shoule be

wallet_dump_private_key BTSX5e9S3uTdhLsKg7JwPFp79p4VscPAyrPHb4oUzy6kW9FzcirpEf

I tried that...

Step  4) returned:

"My_main_account"                    /// and the only registered account in that wallet.

 rescan found nothing..

Code: [Select]
>> wallet_recover_accounts 1 2000

0

Trying wallet_regenerate_keys <account_name> <max_key_number>   

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12915
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: !!! Stupid Questions Thread !!!
« Reply #357 on: October 18, 2014, 07:01:51 pm »
ahh .. ok

try this:

1) console: "close"
2) console: "wallet_create new" ... type some new password
3) console: importprivkey PRIVKEY mytempaccountnamefrombter true true   
check if a new account pops up (really should now)


issue is, once the pubkey to the key is known to the wallet and belongs to an other address .. the wallet won't let you create a new account. However.. you need to create a new account with THAT PARTICULAT key as master account key ...
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

zerosum

  • Guest
Re: !!! Stupid Questions Thread !!!
« Reply #358 on: October 18, 2014, 07:15:00 pm »
ahh .. ok

try this:

1) console: "close"
2) console: "wallet_create new" ... type some new password
3) console: importprivkey PRIVKEY mytempaccountnamefrombter true true   
check if a new account pops up (really should now)


issue is, once the pubkey to the key is known to the wallet and belongs to an other address .. the wallet won't let you create a new account. However.. you need to create a new account with THAT PARTICULAT key as master account key ...

I have another wallet with old accounts... isn't it better to create it there?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12915
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: !!! Stupid Questions Thread !!!
« Reply #359 on: October 18, 2014, 07:27:42 pm »
nope .. use an empty one! .. you can move you funds out once it's working ...
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH