Commit Graph

182 Commits

Author SHA1 Message Date
Greg Fitzgerald b1e9512f44 Rename end_hash to id 2018-03-04 07:50:26 -07:00
Greg Fitzgerald a148454376 Update readme 2018-03-02 12:07:05 -07:00
Greg Fitzgerald 9e16937914 Delete the Discovery event
Not useful to the accountant.
2018-03-01 17:02:41 -07:00
Greg Fitzgerald 7111aa3b18
Copy disclaimer from the loom repository
Per @aeyakovenko, added Loom's disclaimer.
2018-03-01 09:16:39 -07:00
Greg Fitzgerald b8d52cc3e4 Make the Discovery event into a struct instead of a tuple 2018-02-24 11:15:03 -07:00
Greg Fitzgerald 7d9bab9508 Update rendered demo diagram 2018-02-24 11:09:00 -07:00
Greg Fitzgerald 29a607427d Rename UserDataKey to Discovery
From the perspective of the log, when some data's hash is added,
that data is "discovered" by the historian.  Another event
might be a "claim" that some signed data belongs to the owner of a
public key.
2018-02-24 05:25:19 -07:00
Greg Fitzgerald 7871b38c80 Update demo to use self-ticking logger 2018-02-21 11:52:03 -07:00
Greg Fitzgerald b34d2d7dee Allow the logger to inject Tick events on its own 2018-02-21 11:33:42 -07:00
Greg Fitzgerald d7dfa8c22d Readme cleanup 2018-02-21 10:07:32 -07:00
Greg Fitzgerald 8df274f0af Add hash seed to verify_slice() 2018-02-21 09:43:34 -07:00
Greg Fitzgerald 07c4ebb7f2 Add message sequence chart for readme demo
Fixes #17
2018-02-21 09:33:50 -07:00
Greg Fitzgerald d97112d7f0 Explain proof-of-history in the readme
Also:
* Hash userdata so that verification works as the readme describes.
* Drop itertools package. Found a way to use std::iter instead.

Fixes #8
2018-02-20 14:04:49 -07:00
Greg Fitzgerald 959da300cc Shorten readme lines 2018-02-19 16:53:58 -07:00
Greg Fitzgerald ba90e43f72 Update benchmark
* Add asm, though it doesn't make it faster. TODO: use avx instructions.
* Do 10x less hashes, since sha256 is more expensive.
2018-02-19 16:51:35 -07:00
Greg Fitzgerald 6effd64ab0 Update readme with sha256 usage 2018-02-19 16:48:29 -07:00
Greg Fitzgerald 10a70a238b Cleanup demo 2018-02-19 12:25:57 -07:00
Greg Fitzgerald 0bead4d410 Fix markdown link 2018-02-19 12:12:45 -07:00
Greg Fitzgerald d88d1b2a09 Reset historian's hasher between events
Hasher will generate different hashes for the same input if it
had already generated a hash.

Also add a binary to ensure the example in the README works.
2018-02-19 12:03:06 -07:00
Greg Fitzgerald a7186328e0 Add docs
Fixes #11
2018-02-19 09:27:14 -07:00
Greg Fitzgerald 3550f703c3 Fix typo
We don't write test for the readme. :)
2018-02-16 12:53:46 -07:00
Greg Fitzgerald ea1d57b461 Update description 2018-02-16 12:51:57 -07:00
Greg Fitzgerald 49386309c8 Architecture -> Specification 2018-02-16 12:44:00 -07:00
Greg Fitzgerald c2f28df9e3 Add badges for latest crate and documentation 2018-02-16 12:32:47 -07:00
Greg Fitzgerald da01f45d39 Rename the project 2018-02-16 11:49:21 -07:00
Greg Fitzgerald cc58b25270 Update description 2018-02-16 11:30:36 -07:00
Greg Fitzgerald 69f70cfe72 Add separate benchmarks for seq and par versions of verify_slice 2018-02-16 09:38:12 -08:00
Greg Fitzgerald 2a04f4b52a Add code coverage badge 2018-02-16 09:02:44 -07:00
Greg Fitzgerald 046271a657 First attempt at lighting up code coverage 2018-02-15 17:47:34 -07:00
Greg Fitzgerald b5645bc776 Rename project 2018-02-15 13:59:33 -07:00
Greg Fitzgerald a6f1a0e04b Add TravisCI build status 2018-02-14 15:25:49 -07:00
Greg Fitzgerald e1e963e734 first commit 2018-02-13 21:53:49 -07:00