Skip to content

Commit

Permalink
swarm/bmt: async section writer interface to BMT (ethereum#778)
Browse files Browse the repository at this point in the history
- AsyncHasher implements AsyncWriter interface
 - add extra level for zerohashes in pool to lookup empty data hash
 - remove unused segment, hash and depth fields from Tree
 - Hash pkg function -> syncHash moved to test
 - add asyncHash helper func to tests using shuffle
 - add TestAsyncCorrectness to tests
 - add BenchmarkBMTAsync to tests
 - refactor benchmarks using subbenchmarks
 - improved comments
 - preinitialise base hashers on the nodes
  • Loading branch information
zelig authored and firmianavan committed Aug 28, 2018
1 parent 882ed17 commit e752a02
Show file tree
Hide file tree
Showing 2 changed files with 467 additions and 188 deletions.
Loading

0 comments on commit e752a02

Please sign in to comment.