dat-ecosystem-archive / DEPs

Dat Enhancement Proposals. Contains all specs for the Dat protocol, including drafts. [ DEPRECATED - see https://github.com/hypercore-protocol/hypercore-proposals for similar functionality. More info on active projects and modules at https://dat-ecosystem.org/ ]
https://dat-ecosystem.github.io/DEPs
166 stars 17 forks source link

hypercore DEP: clarify root re-hashing paragraph #29

Closed bnewbold closed 6 years ago

bnewbold commented 6 years ago

This is my solution to PR 16 (https://github.com/datprotocol/DEPs/pull/16):

"It is convenient to capture the state of the Hypercore feed as a whole with a fixed-size hash, regardless of how many root hashes there are. This is achieved by always re-hashing all the individual root hashes together into a single hash value. At most there will be log2(number of data blocks) such individual root hashes to re-hash."

Thanks to @bcomnes for proposing and @pfrazee for discussion.

(we could also merge @bcomnes's branch if they update it).

bnewbold commented 6 years ago

Bump @pfrazee

pfrazee commented 6 years ago

I'm 👍 . Merge?