From c9ff1f9571b2e3bfd92ee9861c5b89c1958be19d Mon Sep 17 00:00:00 2001 From: x Date: Thu, 6 Oct 2022 10:31:05 +0000 Subject: [PATCH] small corrections to docs --- doc/src/misc/hashchain/hashchain.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/src/misc/hashchain/hashchain.md b/doc/src/misc/hashchain/hashchain.md index 6ae809ab1..16252d0d4 100644 --- a/doc/src/misc/hashchain/hashchain.md +++ b/doc/src/misc/hashchain/hashchain.md @@ -12,7 +12,7 @@ The `Event` could have many actions according to the underlying data. enum EventAction { ... }; -#### Privmsg +### Privmsg | Description | Data Type | Comments | |-------------- |-------------- | ------------------------------------------------------------------------- | @@ -25,17 +25,16 @@ The `Event` could have many actions according to the underlying data. | Description | Data Type | Comments | |----------------------- | -------------- | --------------------------- | | previous_event_hash | `EventId` | Hash of the previous `Event`| -| Action | `EventAction` | `Event`'s action | -| Timestamp | u64 | `Event`'s timestamp | -| read_confirms | u8 | A confirmation counter | +| action | `EventAction` | `Event`'s action | +| timestamp | u64 | `Event`'s timestamp | ## EventNode | Description | Data Type | Comments | |--------------- | ---------------------- | ----------------------------------------------------- | | parent | Option<`EventId`> | Only current root has this set to None | -| Event | `Event` | The `Event` itself | -| Children | Vec<`EventId`> | The `Event`s which has parent as this `Event` hash | +| event | `Event` | The `Event` itself | +| children | Vec<`EventId`> | The `Event`s which has parent as this `Event` hash | ## Model