datrs / hypercore

Secure, distributed, append-only log
https://docs.rs/hypercore
Apache License 2.0
333 stars 37 forks source link

Add data, tree and signature bytes test #14

Closed khernyo closed 6 years ago

khernyo commented 6 years ago

This is a direct port of https://github.com/mafintosh/hypercore/blob/cf08d8c907e302cf4b699738f229b050eba41b59/test/compat.js

Not all tests are implemented because some of the necessary functionality is not available, yet.

The tests are using on-disk storage because it's currently not possible to inspect the in-memory storage.