Skip to content

Commit

Permalink
Refactor (txaty#28)
Browse files Browse the repository at this point in the history
* Refactor

1. Remove the global worker pool, and add the worker pool to the MerkleTree struct. So now, each MerkleTree uses its worker pool;
2. Change pool worker arguments to pointers to separate specific arguments;
3. Add more comments;
4. Fix unit test naming.

---------

Signed-off-by: txaty <[email protected]>
  • Loading branch information
txaty authored Mar 29, 2023
1 parent 099bb78 commit 3ddbc81
Show file tree
Hide file tree
Showing 2 changed files with 488 additions and 372 deletions.
Loading

0 comments on commit 3ddbc81

Please sign in to comment.