This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
Problem: slightly slow hash function (fixes #1111) #1325
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tomtau
requested review from
yihuang,
calvinaco,
devashishdxt,
leejw51crypto and
linfeng-crypto
March 30, 2020 10:15
yihuang
reviewed
Mar 30, 2020
yihuang
reviewed
Mar 30, 2020
bors try |
tryBuild failed |
yihuang
approved these changes
Mar 30, 2020
Codecov Report
@@ Coverage Diff @@
## master #1325 +/- ##
==========================================
- Coverage 63.58% 63.26% -0.33%
==========================================
Files 152 152
Lines 20674 20656 -18
==========================================
- Hits 13146 13067 -79
- Misses 7528 7589 +61
|
devashishdxt
approved these changes
Mar 31, 2020
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.
- Resolve merge conflicts
- Squash commits
bors r+ |
bors bot
added a commit
that referenced
this pull request
Mar 31, 2020
1325: Problem: slightly slow hash function (fixes #1111) r=tomtau a=tomtau Solution: switched to blake3, as blake2s was more of a temporary choice (it was planned to use e.g. blake2sp later on; blake3 is relatively similar and includes these techniques by default) - blake3 used in message digest (txid) + trie hasher - simplified merkle tree code with keyed hashes - simplified client-* derivation code with `derive_key` mode (instead of that old hmac combo code) NOTE: one syncer test is broken and ignored for the moment, as it'd require regeneration of asset files Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Build failed |
bors retry |
bors bot
added a commit
that referenced
this pull request
Mar 31, 2020
1325: Problem: slightly slow hash function (fixes #1111) r=tomtau a=tomtau Solution: switched to blake3, as blake2s was more of a temporary choice (it was planned to use e.g. blake2sp later on; blake3 is relatively similar and includes these techniques by default) - blake3 used in message digest (txid) + trie hasher - ~~simplified merkle tree code with keyed hashes~~ - simplified client-* derivation code with `derive_key` mode (instead of that old hmac combo code) NOTE: one syncer test is broken and ignored for the moment, as it'd require regeneration of asset files Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Canceled |
bors retry |
bors bot
added a commit
that referenced
this pull request
Mar 31, 2020
1325: Problem: slightly slow hash function (fixes #1111) r=tomtau a=tomtau Solution: switched to blake3, as blake2s was more of a temporary choice (it was planned to use e.g. blake2sp later on; blake3 is relatively similar and includes these techniques by default) - blake3 used in message digest (txid) + trie hasher - ~~simplified merkle tree code with keyed hashes~~ - simplified client-* derivation code with `derive_key` mode (instead of that old hmac combo code) NOTE: one syncer test is broken and ignored for the moment, as it'd require regeneration of asset files Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
tomtau
added a commit
to tomtau/chain-docs
that referenced
this pull request
Mar 31, 2020
… change Solution: updated as per crypto-com/thaler#1325
tomtau
added a commit
to crypto-com/thaler-docs
that referenced
this pull request
Mar 31, 2020
… change (#118) Solution: updated as per crypto-com/thaler#1325
Build failed |
devashishdxt
suggested changes
Mar 31, 2020
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.
- Update integration tests
bors retry |
bors bot
added a commit
that referenced
this pull request
Mar 31, 2020
1325: Problem: slightly slow hash function (fixes #1111) r=tomtau a=tomtau Solution: switched to blake3, as blake2s was more of a temporary choice (it was planned to use e.g. blake2sp later on; blake3 is relatively similar and includes these techniques by default) - blake3 used in message digest (txid) + trie hasher - ~~simplified merkle tree code with keyed hashes~~ - simplified client-* derivation code with `derive_key` mode (instead of that old hmac combo code) NOTE: one syncer test is broken and ignored for the moment, as it'd require regeneration of asset files Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Solution: switched to blake3, as blake2s was more of a temporary choice (it was planned to use e.g. blake2sp later on; blake3 is relatively similar and includes these techniques by default) - blake3 used in message digest (txid) + trie hasher - simplified merkle tree code with hashers instead of intermediate vectors - simplified client-* derivation code with `derive_key` mode (instead of that old hmac combo code) NOTE: one syncer test is broken and ignored for the moment, as it'd require regeneration of asset files
Canceled |
bors retry |
Build succeeded |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solution: switched to blake3, as blake2s was more of a temporary choice (it was planned to use e.g. blake2sp later on;
blake3 is relatively similar and includes these techniques by default)
simplified merkle tree code with keyed hashesderive_key
mode (instead of that old hmac combo code)NOTE: one syncer test is broken and ignored for the moment, as it'd require regeneration of asset files