Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test cases to EIP-55 #787

Merged
merged 1 commit into from Dec 7, 2017
Merged

add test cases to EIP-55 #787

merged 1 commit into from Dec 7, 2017

Conversation

cdetrio
Copy link
Member

@cdetrio cdetrio commented Dec 2, 2017

copy the test cases from the issue #55, and change the section order.

Benefits:
- Backwards compatible with many hex parsers that accept mixed case, allowing it to be easily introduced over time
- Keeps the length at 40 characters
- On average there will be 15 check bits per address, and the net probability that a randomly generated address if mistyped will accidentally pass a check is 0.0247%. This is a ~50x improvement over ICAP, but not as good as a 4-byte check code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you mention ICAP, you may as well mention that it doesn't have the limitation as ICAP, which only represent 155 bits.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be done in another PR.

@axic
Copy link
Member

axic commented Dec 2, 2017

Looks good.

Copy link
Member

@pirapira pirapira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@pirapira pirapira merged commit 389b0f5 into ethereum:master Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants