DJDNS / go-deje

Golang library for DEJE Next, a protocol/technology for decentralized document hosting and concurrent editing.
GNU Lesser General Public License v2.1
8 stars 0 forks source link

Toy Timestamp protocol #32

Closed MaddieM4 closed 10 years ago

MaddieM4 commented 10 years ago

As a precursor to #5, add a storage field in the Document for Timestamps, protocol messages for exchanging Timestamps in bulk, and any changes to the format necessary for the Timestamps to apply to Events directly (rather than Quorums).

I expect that ALL of these changes are things that will need to be backed out later, but they provide a necessary stepping stone towards timestamp tracking logic, and more importantly in the near term, a client's ability to find a tip hash without any peers on the network telling it a tip hash.

MaddieM4 commented 10 years ago

At some point in the near future, we need to rip out the 01-request-tip and 01-publish-tip functionality, in favor of bulk timestamp broadcasting. That may be a job for after #5, though.

MaddieM4 commented 10 years ago

I forgot that we switched to Timestamps == strings, which is a very good thing. It means that the Timestamps field can be a simple []string, and that there is no structural problem with switching to timestamping quorums later.