mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-25 17:21:52 +01:00
Merge e70e4916aef058542edea76a3b723d17c721e70c into 0619f370bca3485bb9c5870bc2defa03c7c3d10e
This commit is contained in:
commit
9a9f916dd6
19
51.md
19
51.md
@ -152,6 +152,25 @@ Some clients have used these lists in the past, but they should work on transiti
|
||||
}
|
||||
```
|
||||
|
||||
### Link Safety
|
||||
|
||||
A kind `10099` replaceable event for storing user domain preferences.
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"kind": 10099,
|
||||
"content": "",
|
||||
"tags": [
|
||||
["d", "domain_lists"], // identifier
|
||||
["white", "nostr.build"],
|
||||
["white", "void.cat"],
|
||||
["black", "malicious-site.net"],
|
||||
["black", "scam-domain.com"]
|
||||
["unknown", "ask"] // Options: "load" | "block" | "ask"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Encryption process pseudocode
|
||||
|
||||
```scala
|
||||
|
Loading…
x
Reference in New Issue
Block a user