datrs / hypercore

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

Include length in signatures (hypercore v9 compat) #112

Closed Frando closed 4 years ago

Frando commented 4 years ago

Hypercore will soon release a new major version (v9) that will include a change to the signatures: They will now include the feed length in addition to the tree hash. See this issue for details.

This PR ports the change. One test with static signatures in it is not yet updated (set to ignore).

Checklist

Context

hypercore/260

Semver Changes

minor or major, not sure. likely squash with the async changes into a single new major.

bltavares commented 4 years ago

TODO