diff options
author | Viktor TrĂ³n <viktor.tron@gmail.com> | 2018-07-18 18:09:38 +0800 |
---|---|---|
committer | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-07-23 21:09:25 +0800 |
commit | fd982d3f3b32de61dafc32322de23350bf35b6e3 (patch) | |
tree | 40011945f3b1ce870192bda460e894ca18de363e /swarm/api | |
parent | 526abe27361c242dbad965c883b0c08858e07c4c (diff) | |
download | dexon-fd982d3f3b32de61dafc32322de23350bf35b6e3.tar.gz dexon-fd982d3f3b32de61dafc32322de23350bf35b6e3.tar.zst dexon-fd982d3f3b32de61dafc32322de23350bf35b6e3.zip |
swarm/bmt: async section writer interface to BMT (#778)
- 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
Diffstat (limited to 'swarm/api')
0 files changed, 0 insertions, 0 deletions