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

LogHasher: Return no error from HashLeaf method #1608

Merged
merged 1 commit into from
May 16, 2019

Conversation

pav-kv
Copy link
Contributor

@pav-kv pav-kv commented May 16, 2019

Hashes to hashes, errors to errors.

@codecov
Copy link

codecov bot commented May 16, 2019

Codecov Report

Merging #1608 into master will increase coverage by 0.2%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #1608     +/-   ##
=========================================
+ Coverage   66.92%   67.13%   +0.2%     
=========================================
  Files         110      110             
  Lines        8990     8962     -28     
=========================================
  Hits         6017     6017             
+ Misses       2355     2341     -14     
+ Partials      618      604     -14
Impacted Files Coverage Δ
client/log_client.go 73.46% <100%> (+3.56%) ⬆️
merkle/rfc6962/rfc6962.go 100% <100%> (ø) ⬆️
merkle/memory_merkle_tree.go 84.94% <100%> (+0.9%) ⬆️
server/log_rpc_server.go 83.96% <100%> (+1.1%) ⬆️
client/log_verifier.go 76.92% <100%> (+4.99%) ⬆️
integration/log.go 71.69% <100%> (+1.14%) ⬆️
merkle/compact/tree.go 88.69% <100%> (+1.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cfd03c...26149ba. Read the comment docs.

Copy link
Contributor

@pphaneuf pphaneuf left a comment

Choose a reason for hiding this comment

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

Hash is hash!

@pav-kv pav-kv merged commit 8a96488 into google:master May 16, 2019
@pav-kv pav-kv deleted the hash_leaf_no_error branch May 16, 2019 13:12
gdbelvin added a commit that referenced this pull request May 17, 2019
* master: (54 commits)
  Couple of changes to make NodeIDs more frugal. (#1613)
  compact.Tree: Change semantic of adding leaves (#1592)
  MapHasher: Do not return error from HashLeaf (#1611)
  Move Postgres schema into "schema" subdirectory
  Move MySQL schema into "schema" subdirectory
  Improve FlipRightBit by doing it directly. (#1610)
  log_subtree_cache: Use compact Range instead of Tree (#1609)
  LogHasher: Return no error from HashLeaf method (#1608)
  Remove update_changelog.sh
  Fewer copies of the bytes from big.Int (#1602)
  Switch some low-level logging in hashing related code to 'if' guards (#1601)
  Merge pull request #1596 from RJPercival/del_dockerfile_db
  Correct name of "licenses" binary in .gitignore
  compact.Tree: Allow nil visitor and add benchmarks (#1599)
  Add timeout to sequencing context (#1595)
  Combine `go install` commands in .travis.yml
  Combine `go get` commands in .travis.yml
  Sort `go get` commands in .travis.yml
  Rename "indirect/external.go" to "indirect/indirect.go"
  Fix typo: "TestLibaries" -> "TestLibraries"
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants