-
Notifications
You must be signed in to change notification settings - Fork 115
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
Change Account ids/addresses to truncated hash of the public key #2940
Conversation
go/common/crypto/address/address.go
Outdated
@@ -0,0 +1,80 @@ | |||
// Package address implements a generic cryptographic address. |
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.
A better description would be nice.
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 tried, please take another look.
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.
@Yawning, ping
3649ad6
to
86e1bed
Compare
86e1bed
to
88954c5
Compare
97b9716
to
20554a5
Compare
6e46fc3
to
ea9cec4
Compare
6cb53bf
to
951b70e
Compare
951b70e
to
05ca1e6
Compare
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.
Don't forget to mention all the API and config parameter changes in the respective changelog fragments.
05ca1e6
to
0787fc7
Compare
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.
Looked at the recent Bech32 registration addition, looks good!
0787fc7
to
f446c78
Compare
fd9df12
to
7c44974
Compare
Rename NewBlacklistedKey() to NewBlacklistedPublicKey() for consistency. Update the tests to cover these two functions.
Add OwnTxSignerAddress() to ApplicationState.
The test scenario that used it was removed when support for v0 node descriptor was removed in #2963.
tests/fixture-data: Update genesis documents to use the new staking account address format.
Replace GetSignerNonceRequest's ID field with AccountAddress field to reflect the recent staking account id/address change.
Rename EstimateGasRequest's Caller field to Signer to better describe the field's value which is the public key of the transaction's signer.
7c44974
to
cd71625
Compare
Closes #2928.
TODO:
H(<context> || <pubkey>)
, e.g.H("oasis-core/address: staking" || <pubkey>)
.