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/ ]
"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).
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).