4
4
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/txaty/go-merkletree )] ( https://goreportcard.com/report/github.com/txaty/go-merkletree )
5
5
[ ![ codecov] ( https://codecov.io/gh/txaty/go-merkletree/branch/main/graph/badge.svg?token=M02CIBSXFR )] ( https://codecov.io/gh/txaty/go-merkletree )
6
6
[ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/3a9bb5ff5cb64dcf83903ca998a9144d )] ( https://app.codacy.com/gh/txaty/go-merkletree/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade )
7
+ [ ![ MIT license] ( https://img.shields.io/badge/license-MIT-brightgreen.svg )] ( https://opensource.org/licenses/MIT )
7
8
8
9
High performance Golang Merkle Tree, supporting parallelization and OpenZeppelin sibling-sorting.
9
10
@@ -167,9 +168,9 @@ handleError(err)
167
168
168
169
Setup:
169
170
170
- | CPU | Memory | OS | Hash Function |
171
- | :--------------:| :------:| :------------:| :-------------:|
172
- | Intel i7-9750H | 16GB | Ubuntu 20 .04 | SHA256 |
171
+ | AWS EC2 | CPU | Memory | OS | Hash Function | Go Version |
172
+ | :----------: | : ------- :| :------:| :---------------- :| :-------------: | : ----------:|
173
+ | c5.4xlarge | 16 Core | 32GB | Ubuntu 22 .04 LTS | SHA256 | 1.21.4 |
173
174
174
175
Benchmark tasks:
175
176
@@ -180,7 +181,7 @@ Benchmark tasks:
180
181
<tbody >
181
182
<tr ><td >
182
183
183
- ![ Proof Generation] ( asset/proof_gen .png )
184
+ ![ Proof Generation All ] ( asset/proof_gen_all .png )
184
185
185
186
</td ><td >
186
187
@@ -201,12 +202,11 @@ Benchmark implementation can be found in [txaty/merkle-tree-bench](https://githu
201
202
202
203
This project requires the following dependencies:
203
204
204
- - [ gool] ( https://github.com/txaty/gool ) - a generics goroutine pool. Before running the code, make sure that your Golang
205
- version supports generics.
205
+ - [ golang.org/x/sync] ( golang.org/x/sync ) - ` errgroup ` in this package is used to handle errors from goroutines.
206
206
- [ gomonkey] ( https://github.com/agiledragon/gomonkey ) - a Go library that allows you to monkey patch in unit tests.
207
207
Please note that this library may have permission-denied issues on Apple Silicon MacBooks. However, this will not
208
208
affect the use of the Merkle Tree library.
209
209
210
210
## License
211
211
212
- MIT License
212
+ Released under the [ MIT License] ( https://github.com/txaty/go-merkletree/blob/master/LICENSE ) .
0 commit comments