Author

Topic: Bitcoin account format spec? (Read 1395 times)

Hal
vip
Activity: 314
Merit: 3803
March 30, 2011, 04:14:14 PM
#7
Look at my sig, Bitcoin address with my name in it courtesy of Gavin's vanity patch.
full member
Activity: 154
Merit: 100
March 30, 2011, 12:18:55 PM
#6
I did however find something else very interesting while I was there... the 'vanity' param Smiley
That's not part of the official API, that's just a fun hack I made one day on a whim.
The technical information in the wiki needs more attention and polish; if you have time and are a decent writer, please jump in and help out.

You're right about it being something 'fun'; After thinking about it for a bit I realised I probably won't use it. But it's cool none-the-less.

I would gladly help with docs, etc. as I usually have a keen eye for proof-reading, however being so new to Bitcoin I'm not confident enough yet to edit technical docs in case the anomaly is there for a reason!  Embarrassed
legendary
Activity: 1652
Merit: 2216
Chief Scientist
March 30, 2011, 11:57:56 AM
#5
I did however find something else very interesting while I was there... the 'vanity' param Smiley

That's not part of the official API, that's just a fun hack I made one day on a whim.

The technical information in the wiki needs more attention and polish; if you have time and are a decent writer, please jump in and help out.
full member
Activity: 154
Merit: 100
March 30, 2011, 11:44:52 AM
#4
Probably the best way to find out would be to check the source code (search github for "listaccounts", and I'll do that once I get home, if you haven't beaten me to it!) However, in the meantime I can tell you that I've got account names with spaces, hyphens and periods as well as alphanumeric chars. None of my account names are that long - longest is 23 chars.

Cheers. I haven't touched C++ for years so I'm not the best person to check, but I couldn't see anything that restricts it.

I did however find something else very interesting while I was there... the 'vanity' param Smiley
administrator
Activity: 5166
Merit: 12850
March 30, 2011, 11:40:12 AM
#3
I don't think there's any restriction except that "*" is reserved.
hero member
Activity: 644
Merit: 502
March 30, 2011, 11:35:46 AM
#2
Sorry I couldn't find this anywhere...

Are there any specific rules about how you can name an account? eg. Does it have to be alphanumeric, can it contain spaces, etc... how long can it be?

This API Calls List doesn't mention anything about it:

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

Also the 'Full list' on that page doesn't include the listaccounts() function... is that function new or is this just an oversight?


Probably the best way to find out would be to check the source code (search github for "listaccounts", and I'll do that once I get home, if you haven't beaten me to it!) However, in the meantime I can tell you that I've got account names with spaces, hyphens and periods as well as alphanumeric chars. None of my account names are that long - longest is 23 chars.
full member
Activity: 154
Merit: 100
March 30, 2011, 11:28:36 AM
#1
Sorry I couldn't find this anywhere...

Are there any specific rules about how you can name an account? eg. Does it have to be alphanumeric, can it contain spaces, etc... how long can it be?

This API Calls List doesn't mention anything about it:

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

Also the 'Full list' on that page doesn't include the listaccounts() function... is that function new or is this just an oversight?

Jump to: