rename key from chain to e_prev

This commit is contained in:
Milan Hauth 2023-05-29 15:43:56 +02:00
parent 957b558d6b
commit 77d78589b6

View File

@ -31,7 +31,7 @@ Some choices:
"kind": ..., "kind": ...,
..., ...,
..., ...,
"chain": [ "e_prev": [
[<previous event distance>, <previous event ID>], [<previous event distance>, <previous event ID>],
[<previous event distance>, <previous event ID>], [<previous event distance>, <previous event ID>],
... ...
@ -110,24 +110,26 @@ Clients should visualize:
If there are many missing previous events, these can be collapsed to a "N missing events" block. If there are many missing previous events, these can be collapsed to a "N missing events" block.
TODO: rename "chain" TODO: rename key
-------------------- ----------------
```json ```json
{ {
..., ...,
"chain": [ "e_prev": [
... ...
] ]
} }
``` ```
Rename the key "chain" to ... Rename the key to ...
- previous_events - previous_events
- e_prev
- prevs - prevs
- history - history
- soft_chain - soft_chain
- chain
Keywords Keywords
-------- --------