Commit Graph

201 Commits

Author SHA1 Message Date
Greg Fitzgerald 43d986d14e Add the 'why' for code coverage to readme 2018-04-04 09:26:38 -06:00
Greg Fitzgerald a03d7bf5cd Missed a couple 2018-03-28 22:20:31 -06:00
Greg Fitzgerald 3bf225e85f Don't require install to run demo 2018-03-28 22:18:33 -06:00
Greg Fitzgerald 7d3d4b9443
nit 2018-03-27 17:20:23 -06:00
Greg Fitzgerald 15c093c5e2
typo 2018-03-27 16:31:19 -06:00
Greg Fitzgerald c8ddc68f13
Rename project: silk -> solana 2018-03-27 16:16:27 -06:00
Greg Fitzgerald caa9a846ed Boot sha2-asm
Stick with pure Rust until someone can write a benchmark that
demonstrates that sha2-asm adds value. If we go with a GPU
implementation first, we may never need to do that.
2018-03-19 16:42:30 -06:00
Greg Fitzgerald e0c8417297 Apply renames to docs 2018-03-19 10:23:43 -06:00
Greg Fitzgerald 9930a2e167 With v0.3.1 published to crates.io, you can now run silk without git 2018-03-08 11:42:06 -07:00
Greg Fitzgerald dba6d7a8a6
Update README.md 2018-03-07 17:20:40 -07:00
Greg Fitzgerald b6d8f737ca Introducing, the mint
Use the mint to pair a new private key with new tokens.
2018-03-07 16:58:04 -07:00
Greg Fitzgerald 96a0a9202c
Update README.md 2018-03-06 21:12:50 -07:00
Jackson Sandland 64735da716 Issue #50 - proof read README 2018-03-06 16:21:45 -08:00
Greg Fitzgerald b98e04dc56
Update README.md 2018-03-06 15:03:06 -07:00
Greg Fitzgerald 5dca3c41f2
Update README.md 2018-03-05 16:19:26 -07:00
Greg Fitzgerald 929546f60b
Update README.md 2018-03-05 16:18:46 -07:00
Greg Fitzgerald 064eba00fd Update readme 2018-03-05 16:05:16 -07:00
Greg Fitzgerald 672a4b3723
Update historian diagram 2018-03-04 14:36:55 -07:00
Greg Fitzgerald ff82fbf112 Make num_hashes mean the num_hashes since the last ID
Before this change, num_hashes meant the number of hashes since
the last ID, minus any hashing done on the event data. It made
no difference for Tick events, but logged Transaction events with
one less hash than actually occurred.
2018-03-04 09:52:36 -07:00
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