-
Notifications
You must be signed in to change notification settings - Fork 179
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
suggestions for COA address #5344
suggestions for COA address #5344
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
// into deterministic random-looking address postfixes. | ||
// The constant must be an ODD number. It is a "nothing-up-my-sleeves" constant. | ||
// Look at `mapAddressIndex` for more details. | ||
addressIndexMultiplierConstant = uint64(0xFFEEDDCCBBAA9977) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reasoning for the change from 0xFFEEDDCCBBAA9987 to 0xFFEEDDCCBBAA9977?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I subjectively thought it looks more like a "nothing up my sleeve" constant this way (we couldn't use 88
because it's even so we jumped to 77
). 87
is fine too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see now 👍 Maybe add the part "we couldn't use 88 because it's even so we jumped to 77"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closes #5179