The historian
crate provides a microservice for generating a Proof-of-History.
It logs Event items on behalf of its users. It continuously generates
new hashes, only stopping to check if it has been sent an Event item. It
tags each Event with an Entry and sends it back. The Entry includes the
Event, the latest hash, and the number of hashes since the last event.
The resulting stream of entries represents ordered events in time.
create_logger |
A background thread that will continue tagging received Event messages and
sending back Entry messages until either the receiver or sender channel is closed.
|