mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 08:55:52 -05:00
rename key from chain to e_prev
This commit is contained in:
parent
957b558d6b
commit
77d78589b6
|
@ -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
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user