mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-29 03:02:07 +01:00
Cleanup
This commit is contained in:
parent
010e871480
commit
bb36bfc255
18
26.md
18
26.md
@ -52,7 +52,7 @@ For example, the following condition strings are valid:
|
||||
- `kind=0&kind=1&created_at>1675721813`
|
||||
- `kind=1&created_at>1674777689&created_at<1675721813`
|
||||
|
||||
For the vast majority of use-cases, it is advisable that query strings should include a `created_at` ***after*** condition reflecting the current time to prevent delegatee's from publishing historic notes on delegator's behalves.
|
||||
For the vast majority of use-cases, it is advisable that query strings should include a `created_at` ***after*** condition reflecting the current time, to prevent delegatee's from publishing historic notes on delegator's behalves.
|
||||
|
||||
#### Example
|
||||
|
||||
@ -103,18 +103,4 @@ Clients should display the delegated note as if it was published directly by the
|
||||
|
||||
#### Relay & Client Querying Support
|
||||
|
||||
Relays should answer requests such as `["REQ", "", {"authors": ["A"]}]` by querying both the `pubkey` and delegation tags `[1]` value.
|
||||
|
||||
[
|
||||
0,
|
||||
"477318cfb5427b9cfc66a9fa376150c1ddbc62115ae27cef72417eb959691396",
|
||||
1677426298,
|
||||
1,
|
||||
[
|
||||
"delegation",
|
||||
"8e0d3d3eb2881ec137a11debe736a9086715a8c8beeeda615780064d68bc25dd",
|
||||
"kind=1&created_at>1674834236&created_at<1677426236",
|
||||
"6f44d7fe4f1c09f3954640fb58bd12bae8bb8ff4120853c4693106c82e920e2b898f1f9ba9bd65449a987c39c0423426ab7b53910c0c6abfb41b30bc16e5f524"
|
||||
],
|
||||
Hello, world!
|
||||
]
|
||||
Relays should answer requests such as `["REQ", "", {"authors": ["A"]}]` by querying both the `pubkey` and delegation tags `[1]` value.
|
Loading…
x
Reference in New Issue
Block a user