Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: cant register  (Read 618 times)

Offline nicocesar

cant register
« on: January 22, 2015, 04:47:39 AM »

Why do I have 2 different address with   wallet_list_my_accounts and wallet_get_account  ?


bitsharewallet (unlocked) >>> wallet_list_my_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL       BLOCK PRODUCTION ENABLED
nico                               BTS4zxXSPKNwEDeJLHZaQNTGM3tKyYvsJdmXM9bXVKdTftfKuTbtP           NO                    NO             0              N/A                     
bitsharewallet (unlocked) >>> wallet_get_account nico
{
  "index": 12,
  "id": 11834,
  "name": "nico",
  "public_data": null,
  "owner_key": "BTS8WpBRYKRAY1P1i82PEwPA76e2wk3vXw6gtbjPFuVuasJVSJXZ9",
  "active_key_history": [[
      "2014-07-26T13:17:10",
      "BTS8WpBRYKRAY1P1i82PEwPA76e2wk3vXw6gtbjPFuVuasJVSJXZ9"
    ]
  ],
  "registration_date": "2014-07-26T13:17:10",
  "last_update": "2014-07-26T13:17:10",
  "delegate_info": null,
  "meta_data": null,
  "is_my_account": false,
  "approved": 0,
  "is_favorite": false,
  "block_production_enabled": false,
  "last_used_gen_sequence": 0,
  "private_data": null
}
« Last Edit: January 23, 2015, 12:43:47 AM by nicocesar »
Account: nicocesar
Account: delegate.nicocesar 3%

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11959
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: cant register
« Reply #1 on: January 22, 2015, 08:40:24 AM »
wow .. that is weird .. it should be identical with "active_key_history" ..

paging @toast @vikram
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline wackou

Re: cant register
« Reply #2 on: January 22, 2015, 11:50:02 AM »
well, that's because I have "nico" registered on the blockchain :D

"wallet_list_my_accounts" shows your account in your wallet, and "wallet_get_account" shows the one from the blockchain (which is mine) (the function name is a bit of a misnomer, there's also "blockchain_get_account" which is about the same, but seems to return the data in a different format)

This is strange as it should not have let you create the account with the name "nico" in your wallet knowing that there was already such an account on the blockchain (it's not a problem with the blockchain, but it can sometimes lead to confusion, as what just happened to you).
Please vote for witness wackou! More info at http://digitalgaia.io

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 601
    • View Profile
Re: cant register
« Reply #3 on: January 22, 2015, 03:50:39 PM »
Maybe you created the username before your blockchain finished syncing?
BTS: flux-tips

Offline nicocesar

Re: cant register
« Reply #4 on: January 22, 2015, 03:54:46 PM »
Maybe you created the username before your blockchain finished syncing?


oooh.... That's correct. Mistery solved!

Account: nicocesar
Account: delegate.nicocesar 3%

Offline nicocesar

Re: cant register
« Reply #5 on: January 22, 2015, 03:58:36 PM »
well, that's because I have "nico" registered on the blockchain :D

:(  ....  lol ... I'll use another...

"wallet_list_my_accounts" shows your account in your wallet, and "wallet_get_account" shows the one from the blockchain (which is mine) (the function name is a bit of a misnomer, there's also "blockchain_get_account" which is about the same, but seems to return the data in a different format)

Great! this SHOULD be part of the explanation on the delegates howto!... I'm  on it--

This is strange as it should not have let you create the account with the name "nico" in your wallet knowing that there was already such an account on the blockchain (it's not a problem with the blockchain, but it can sometimes lead to confusion, as what just happened to you).

as I mention in another thread the issue was that I created the account *during* the sync of the blockchain ...  I'll start all over again and just wait for it to catch up-.

Thanks, "nico" ;)
Account: nicocesar
Account: delegate.nicocesar 3%

Offline nicocesar

Re: cant register
« Reply #6 on: January 22, 2015, 05:22:42 PM »
now active_key_history and wallet_list_my_accounts KEY column match:

I have:

nicocesar
BTS7T4mdMCZH9X51MsfD7dH38CAEAFP7x3t76SkEK7LFUTtVPJQpR

does that mean that I need to be beg funding?  *wink* *wink*

Thanks,
Nico
Account: nicocesar
Account: delegate.nicocesar 3%

Offline onceuponatime

Re: cant register
« Reply #7 on: January 22, 2015, 07:18:26 PM »
now active_key_history and wallet_list_my_accounts KEY column match:

I have:

nicocesar
BTS7T4mdMCZH9X51MsfD7dH38CAEAFP7x3t76SkEK7LFUTtVPJQpR

does that mean that I need to be beg funding?  *wink* *wink*

Thanks,
Nico

Sent you funds to register  :)

Offline nicocesar

Re: cant register
« Reply #8 on: January 23, 2015, 12:43:20 AM »
Sent you funds to register  :)

I didn't get the shares...

I don't see my address in the blockchain:

bitsharewallet (unlocked) >>> blockchain_list_accounts nicocesar



bitsharewallet (unlocked) >>> wallet_account_balance nicocesar
No balances found.



bitsharewallet (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL       
delegate.nicocesar                 BTS6exFUYCieH6wYtbAxZLanncBqQH2po9XtPENfZr7otcASt5GFp           NO                    NO             0         
nicocesar                          BTS7T4mdMCZH9X51MsfD7dH38CAEAFP7x3t76SkEK7LFUTtVPJQpR           NO                    NO             1         
onceuponatime *                    BTS8Ae77UWtuXm71W8RsaF8yDhhxRme1ByiuEzWsprrB6mLzrmAYY           2014-07-19T03:18:40   NO             0         



bitsharewallet (unlocked) >>> wallet_get_account nicocesar
{
  "index": 11,
  "id": 0,
  "name": "nicocesar",
  "public_data": null,
  "owner_key": "BTS6X2niArKe1fGomYaAtghpWekoWFYqTJYRfgem7PmJujHRTTmE6",
  "active_key_history": [[
      "2015-01-22T17:19:05",
      "BTS7T4mdMCZH9X51MsfD7dH38CAEAFP7x3t76SkEK7LFUTtVPJQpR"
    ]
  ],
  "registration_date": "1970-01-01T00:00:00",
  "last_update": "2015-01-22T17:19:05",
  "delegate_info": null,
  "meta_data": null,
  "is_my_account": true,
  "approved": 1,
  "is_favorite": false,
  "block_production_enabled": false,
  "last_used_gen_sequence": 0,
  "private_data": null
}


but when I do:

bitsharewallet (unlocked) >>> wallet_get_account_public_address nicocesar
BTS1FfEXtaWvB3SRfG85cTZXNqCjog7Ssva


why a get a different address? what I'm doing wrong?
Account: nicocesar
Account: delegate.nicocesar 3%

Offline onceuponatime

Re: cant register
« Reply #9 on: January 23, 2015, 12:54:51 AM »
Sent you funds to register  :)

I didn't get the shares...

I don't see my address in the blockchain:

bitsharewallet (unlocked) >>> blockchain_list_accounts nicocesar



bitsharewallet (unlocked) >>> wallet_account_balance nicocesar
No balances found.



bitsharewallet (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL       
delegate.nicocesar                 BTS6exFUYCieH6wYtbAxZLanncBqQH2po9XtPENfZr7otcASt5GFp           NO                    NO             0         
nicocesar                          BTS7T4mdMCZH9X51MsfD7dH38CAEAFP7x3t76SkEK7LFUTtVPJQpR           NO                    NO             1         
onceuponatime *                    BTS8Ae77UWtuXm71W8RsaF8yDhhxRme1ByiuEzWsprrB6mLzrmAYY           2014-07-19T03:18:40   NO             0         



bitsharewallet (unlocked) >>> wallet_get_account nicocesar
{
  "index": 11,
  "id": 0,
  "name": "nicocesar",
  "public_data": null,
  "owner_key": "BTS6X2niArKe1fGomYaAtghpWekoWFYqTJYRfgem7PmJujHRTTmE6",
  "active_key_history": [[
      "2015-01-22T17:19:05",
      "BTS7T4mdMCZH9X51MsfD7dH38CAEAFP7x3t76SkEK7LFUTtVPJQpR"
    ]
  ],
  "registration_date": "1970-01-01T00:00:00",
  "last_update": "2015-01-22T17:19:05",
  "delegate_info": null,
  "meta_data": null,
  "is_my_account": true,
  "approved": 1,
  "is_favorite": false,
  "block_production_enabled": false,
  "last_used_gen_sequence": 0,
  "private_data": null
}


but when I do:

bitsharewallet (unlocked) >>> wallet_get_account_public_address nicocesar
BTS1FfEXtaWvB3SRfG85cTZXNqCjog7Ssva


why a get a different address? what I'm doing wrong?


TO nicocesar
enjoy!
- 0.5 BTS
0.1 BTS      January 22, 2015 at 11:17:32 AM PST

Transaction #f6dc994d

Offline nicocesar

Re: cant register
« Reply #10 on: January 23, 2015, 01:18:17 AM »
So I see that my blockchain isn't up to date:



bitsharewallet (unlocked) >>> blockchain_get_block_count
1575644


(it took 30 minutes to go from 0 to that block ... then is stuck in there.

I see your generous donation later:
http://www.bitsharesblocks.com/blocks/block?id=1592918


how can I kick the blockchain process again?
Account: nicocesar
Account: delegate.nicocesar 3%

Offline onceuponatime

Re: cant register
« Reply #11 on: January 23, 2015, 01:27:44 AM »
So I see that my blockchain isn't up to date:



bitsharewallet (unlocked) >>> blockchain_get_block_count
1575644


(it took 30 minutes to go from 0 to that block ... then is stuck in there.

I see your generous donation later:
http://www.bitsharesblocks.com/blocks/block?id=1592918


how can I kick the blockchain process again?

Sometimes when my client gets stuck at a block I try shutting it down and restarting. That usually gets the block count going again.

Offline nicocesar

Re: cant register
« Reply #12 on: January 23, 2015, 05:18:51 AM »
Sometimes when my client gets stuck at a block I try shutting it down and restarting. That usually gets the block count going again.

I did that several times

I added the seed nodes listed here
https://bitsharestalk.org/index.php?topic=5851.0

but block 1575645 is missing on my client

tell me if there is more seeds nodes to add that might have it. Thanks,



bitsharewallet (unlocked) >>> blockchain_get_block 1575644
{
  "previous": "0cf3b27d7a4848388fd189479a12b693772da92d",
  "block_num": 1575644,
  "timestamp": "2015-01-22T02:07:30",
  "transaction_digest": "c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0",
  "next_secret_hash": "12330aede6df7f2aaf588c4cf4d8a65f13ec2d28",
  "previous_secret": "04f1d4d7d0b8799fa017dd0cb043c77410eee73e",
  "delegate_signature": "200c4e4a4e99bc5f33b41cec8d0d7692383672ae0d677639826289144e0922fe9e58b64d37dc37d228cae7eaad7dcb553e98dac483793f22eac5abdfeb446dbdaa",
  "user_transaction_ids": [
    "208438f47c389337ab8bc8a0147e9de86d7ddd6f",
    "b02f288f37c739c26b8877bd3ff1cb0a77f3432b",
    "227e630686cf03084632341af1c57484630606bd",
    "491073d8486c00874a64720214889feef864c71f"
  ],
  "signee_shares_issued": 150000,
  "signee_fees_collected": 0,
  "signee_fees_destroyed": 150000,
  "random_seed": "93069645dafea22ffb11406928d818c80c06d97c",
  "block_size": 4206,
  "latency": 78161000000,
  "processing_time": 7585
}
bitsharewallet (unlocked) >>> blockchain_get_block 1575645
bitsharewallet (unlocked) >>>


Account: nicocesar
Account: delegate.nicocesar 3%

Offline onceuponatime

Re: cant register
« Reply #13 on: January 23, 2015, 07:12:32 AM »
Sometimes when my client gets stuck at a block I try shutting it down and restarting. That usually gets the block count going again.

I did that several times

I added the seed nodes listed here
https://bitsharestalk.org/index.php?topic=5851.0

but block 1575645 is missing on my client

tell me if there is more seeds nodes to add that might have it. Thanks,



bitsharewallet (unlocked) >>> blockchain_get_block 1575644
{
  "previous": "0cf3b27d7a4848388fd189479a12b693772da92d",
  "block_num": 1575644,
  "timestamp": "2015-01-22T02:07:30",
  "transaction_digest": "c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0",
  "next_secret_hash": "12330aede6df7f2aaf588c4cf4d8a65f13ec2d28",
  "previous_secret": "04f1d4d7d0b8799fa017dd0cb043c77410eee73e",
  "delegate_signature": "200c4e4a4e99bc5f33b41cec8d0d7692383672ae0d677639826289144e0922fe9e58b64d37dc37d228cae7eaad7dcb553e98dac483793f22eac5abdfeb446dbdaa",
  "user_transaction_ids": [
    "208438f47c389337ab8bc8a0147e9de86d7ddd6f",
    "b02f288f37c739c26b8877bd3ff1cb0a77f3432b",
    "227e630686cf03084632341af1c57484630606bd",
    "491073d8486c00874a64720214889feef864c71f"
  ],
  "signee_shares_issued": 150000,
  "signee_fees_collected": 0,
  "signee_fees_destroyed": 150000,
  "random_seed": "93069645dafea22ffb11406928d818c80c06d97c",
  "block_size": 4206,
  "latency": 78161000000,
  "processing_time": 7585
}
bitsharewallet (unlocked) >>> blockchain_get_block 1575645
bitsharewallet (unlocked) >>>


I'm not a tech guy, but I doubt that it is because you need to add nodes.

Maybe this will give you something to try?
https://bitsharestalk.org/index.php?topic=13606.msg177581#msg177581


If that is not it you should start a new thread here describing your problem and what you have done so far to get some tech help:
https://bitsharestalk.org/index.php?board=45.0

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11959
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: cant register
« Reply #14 on: January 23, 2015, 08:30:26 AM »
just wait some 30 minutes or so .. it usually catches up eventually ... there are already bug reports about the network code not properly reconnecting ..

also concerning the results
Code: [Select]
bitsharewallet (unlocked) >>> wallet_get_account_public_address nicocesar
BTS1FfEXtaWvB3SRfG85cTZXNqCjog7Ssva
A address is NOT a public key .. if you compare there lengths you will see that the address above is shorter than any of the keys .. in fact the address is derived from the active_key (or maybe owner key .. not sure)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+