txaty / go-merkletree

Go Merkle Tree. High performance, Supporting parallel run, OpenZeppelin sorting pairs.
https://pkg.go.dev/github.com/txaty/go-merkletree
MIT License
110 stars 17 forks source link

Refactor #26

Closed txaty closed 1 year ago

txaty commented 1 year ago

Major changes:

  1. Make default hash functions public;
  2. Deprecate NonDuplicates configuration. Now avoiding duplicates by generating dummy nodes with random hash values is abandoned;
  3. Refactor README;
  4. Refactor .gitignore;
  5. Refactor Makefile.
codecov[bot] commented 1 year ago

Codecov Report

Merging #26 (e75b479) into main (324a126) will increase coverage by 3.22%. The diff coverage is 96.62%.

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
+ Coverage   93.93%   97.15%   +3.22%     
==========================================
  Files           2        2              
  Lines         445      422      -23     
==========================================
- Hits          418      410       -8     
+ Misses         18        8      -10     
+ Partials        9        4       -5     
Impacted Files Coverage Δ
merkle_tree.go 97.10% <96.47%> (+3.27%) :arrow_up:
default_hash.go 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more