BitShares Forum

Main => Technical Support => Topic started by: Gentso1 on September 05, 2014, 11:52:48 am

Title: trying to register new account
Post by: Gentso1 on September 05, 2014, 11:52:48 am
I am getting this error when trying to register a new account, RPC Server Error: In method 'wallet_account_register': unknown account (20006)
The account is created but the system won't allow me to register it.
Title: Re: trying to register new account
Post by: xeroc on September 05, 2014, 12:27:30 pm
1) try to 'lock' the wallet and 'unlock' again
2) got to console and type "wallet_list_my_accounts"
is yours listed?
Title: Re: trying to register new account
Post by: Gentso1 on September 05, 2014, 12:30:32 pm
1) try to 'lock' the wallet and 'unlock' again
2) got to console and type "wallet_list_my_accounts"
is yours listed?

Tried to lock and unlock same error
Yes it is listed as a unregistered account in the console
Title: Re: trying to register new account
Post by: xeroc on September 05, 2014, 12:33:20 pm
1) try to 'lock' the wallet and 'unlock' again
2) got to console and type "wallet_list_my_accounts"
is yours listed?

Tried to lock and unlock same error
Yes it is listed as a unregistered account in the console

Does it contain a period "."???
Title: Re: trying to register new account
Post by: Gentso1 on September 05, 2014, 12:42:49 pm
yes, is that a problem?
Title: Re: trying to register new account
Post by: Gentso1 on September 05, 2014, 12:45:38 pm
Yup that must be the issue, I created another account with no (.) any now it went to registration pending. I had no idea you could not use the period as my delegate account has one.

xerox-rocks :D Thanks.
Title: Re: trying to register new account
Post by: xeroc on September 05, 2014, 12:48:32 pm
yes, is that a problem?

yep .. if you want to register for example "foo.bar" .. you need to be the owner of "bar" to be able to register it on the blockchain
That is the concept of so called sub accounts"

// edit: I just created a ticket for that on github:
https://github.com/BitShares/bitshares_toolkit/issues/748
Title: Re: trying to register new account
Post by: boombastic on September 05, 2014, 12:52:28 pm
Dot is used for child account.  You need to have parent account registered before you can register child account.  It has nothing to do with registering it as delegate.


Sent from my iPhone using Tapatalk
Title: Re: trying to register new account
Post by: xeroc on September 05, 2014, 12:58:30 pm
It has nothing to do with registering it as delegate.
*confirmed*
Title: Re: trying to register new account
Post by: Gentso1 on September 05, 2014, 01:14:43 pm
I have a account call gentso I was trying to register gentso.tees . I already own gentso as a registered account so shouldn't I have been able to make gentso.tees?
Title: Re: trying to register new account
Post by: xeroc on September 05, 2014, 01:18:56 pm
I have a account call gentso I was trying to register gentso.tees . I already own gentso as a registered account so shouldn't I have been able to make gentso.tees?
almost ... you can register

tees.gentso when you own gentso ..

or you try to register tees (if still available) then you can go for gentso.tees
Title: Re: trying to register new account
Post by: Method-X on September 06, 2014, 02:05:06 pm
@xeroc

How do I register delegate.methodx on a separate wallet? I need to somehow prove to the system that I own methodx first...
Title: Re: trying to register new account
Post by: xeroc on September 06, 2014, 02:18:12 pm
@xeroc

How do I register delegate.methodx on a separate wallet? I need to somehow prove to the system that I own methodx first...

at the system where you do not have "methodx" you create a new account "elegate.methodx" .. do not try register that account.(won't work)
go to the "key" tab and get the "account key"!

at the wallet where you have "methodx" you add a contact with that account key and the name delegate.methodx
then you can register that contact although you dont have the privkey
Title: Re: trying to register new account
Post by: Method-X on September 06, 2014, 02:59:53 pm
Thanks xeroc!
Title: Re: trying to register new account
Post by: xeroc on September 06, 2014, 03:07:22 pm
one important advice:

the private key for delegate.* is then INDEPENDENT from your main account name .. that means you cannot recover it after loss .. so you NEED TO BACKUP either the whole wallet or only the account's private key by wallet_dump_private_key delegate.methodx
Title: Re: trying to register new account
Post by: Gentso1 on September 11, 2014, 06:23:04 pm
I have a account call gentso I was trying to register gentso.tees . I already own gentso as a registered account so shouldn't I have been able to make gentso.tees?
almost ... you can register

tees.gentso when you own gentso ..

or you try to register tees (if still available) then you can go for gentso.tees
I see that makes sense, great explanation. thank you