Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 8df274f

Browse files
committed
Add hash seed to verify_slice()
1 parent 07c4ebb commit 8df274f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create a *Historian* and send it *events* to generate an *event log*, where each
2424
is tagged with the historian's latest *hash*. Then ensure the order of events was not tampered
2525
with by verifying each entry's hash can be generated from the hash in the previous entry:
2626

27-
![historian](https://user-images.githubusercontent.com/55449/36492299-151c65e2-16ea-11e8-97b6-14f1d9b97985.png)
27+
![historian](https://user-images.githubusercontent.com/55449/36492930-97a572be-16eb-11e8-8289-358e9507189e.png)
2828

2929
```rust
3030
extern crate silk;

diagrams/historian.msc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ msc {
1818
logger=>historian [ label = "e2 = Entry{hash: h6, n: 3, event: Tick}" ] ;
1919
client=>historian [ label = "collect()" ] ;
2020
historian=>client [ label = "entries = [e0, e1, e2]" ] ;
21-
client=>client [ label = "verify_slice(entries)" ] ;
21+
client=>client [ label = "verify_slice(entries, h0)" ] ;
2222
}

0 commit comments

Comments
 (0)