Talk:Bitcoin/address validation: Difference between revisions

m
no edit summary
(C-based validators (and possibly others) are broken. They need to keep track of 0x00 bytes to ensure that address is 25 bytes.)
mNo edit summary
Line 26:
 
===C-based code (and possibly others) improperly validates===
Much of the code here does not check to make sure that the bitcoin addresses are 25-bytes. Hence, testing using the C-based code shows that it validates the invalid six-character bitcoin address "BZbvjr". However, trying to send to this address using the standard bitcoin client will naturally produce an error. I have edited the Perl implementation to make it work correctly, but someone who is a better coder than I should do it for the other languages too. [[User:Schulwitz|Schulwitz]] ([[User talk:Schulwitz|talk]]) 22:57, 21 October 2014 (UTC)
Anonymous user