Talk:Bitcoin/address validation: Difference between revisions

From Rosetta Code
Content added Content deleted
(What's the algorithm? Link please!)
 
(→‎Task definition: fresh off google search)
Line 1: Line 1:
==Task definition==
==Task definition==
Is there a link to the actual definition of what is a valid BTC address? The wikipedia link (at time of writing) doesn't say anything on the topic other than that it is “human readable” and “around 33 characters long” and “always starts with a 1 or 3”; that's far too vague for a Rosetta Code task! (Yes, I could try decoding some of the existing examples, but I greatly prefer to be able to independently code tasks if I can. Independent implementations help ensure that the task itself is properly possible.) A link for this sort of thing is entirely adequate for now. –[[User:Dkf|Donal Fellows]] 00:16, 28 November 2012 (UTC)
Is there a link to the actual definition of what is a valid BTC address? The wikipedia link (at time of writing) doesn't say anything on the topic other than that it is “human readable” and “around 33 characters long” and “always starts with a 1 or 3”; that's far too vague for a Rosetta Code task! (Yes, I could try decoding some of the existing examples, but I greatly prefer to be able to independently code tasks if I can. Independent implementations help ensure that the task itself is properly possible.) A link for this sort of thing is entirely adequate for now. –[[User:Dkf|Donal Fellows]] 00:16, 28 November 2012 (UTC)
: Not sure if [https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses This] is the definitive thing. On the other hand though, is it really necessary to have a task with such a narrow range of application? --[[User:Ledrug|Ledrug]] 03:39, 28 November 2012 (UTC)

Revision as of 03:39, 28 November 2012

Task definition

Is there a link to the actual definition of what is a valid BTC address? The wikipedia link (at time of writing) doesn't say anything on the topic other than that it is “human readable” and “around 33 characters long” and “always starts with a 1 or 3”; that's far too vague for a Rosetta Code task! (Yes, I could try decoding some of the existing examples, but I greatly prefer to be able to independently code tasks if I can. Independent implementations help ensure that the task itself is properly possible.) A link for this sort of thing is entirely adequate for now. –Donal Fellows 00:16, 28 November 2012 (UTC)

Not sure if This is the definitive thing. On the other hand though, is it really necessary to have a task with such a narrow range of application? --Ledrug 03:39, 28 November 2012 (UTC)