mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-09 08:38:50 +00:00
Compare commits
14 Commits
nip29-simp
...
other-repl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75bc746fd7 | ||
|
|
d82f68aa2e | ||
|
|
ea36ec9ed7 | ||
|
|
ff39a11611 | ||
|
|
6cd598d02c | ||
|
|
2baf7c87ef | ||
|
|
3d8bf682b6 | ||
|
|
d534bade71 | ||
|
|
4bf0c01144 | ||
|
|
efcc86950d | ||
|
|
d9eb17ce86 | ||
|
|
c258875395 | ||
|
|
21587e2367 | ||
|
|
70f1be5866 |
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1 +0,0 @@
|
|||||||
*.md linguist-detectable
|
|
||||||
7
34.md
7
34.md
@@ -104,7 +104,9 @@ The first patch in a series MAY be a cover letter in the format produced by `git
|
|||||||
|
|
||||||
## Issues
|
## Issues
|
||||||
|
|
||||||
Issues are Markdown text that is just human-readable conversational threads related to the repository: bug reports, feature requests, questions or comments of any kind. Like patches, these SHOULD be sent to the relays specified in that repository's announcement event's `"relays"` tag.
|
Issues are Markdown text that is just human-readable conversational threads related to the repository: bug reports, feature requests, questions or comments of any kind. Like patches, these SHOULD be sent to the relays specified in that repository's announcement event's `"relays"` tag.
|
||||||
|
|
||||||
|
Issues may have a `subject` tag, which clients can utilize to display a header. Additionally, one or more `t` tags may be included to provide labels for the issue.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@@ -113,6 +115,9 @@ Issues are Markdown text that is just human-readable conversational threads rela
|
|||||||
"tags": [
|
"tags": [
|
||||||
["a", "30617:<base-repo-owner-pubkey>:<base-repo-id>"],
|
["a", "30617:<base-repo-owner-pubkey>:<base-repo-id>"],
|
||||||
["p", "<repository-owner>"]
|
["p", "<repository-owner>"]
|
||||||
|
["subject", "<issue-subject>"]
|
||||||
|
["t", "<issue-label>"]
|
||||||
|
["t", "<another-issue-label>"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
4
65.md
4
65.md
@@ -62,3 +62,7 @@ This NIP allows Clients to connect directly with the most up-to-date relay set f
|
|||||||
5. If a relay signals support for this NIP in their [NIP-11](11.md) document that means they're willing to accept kind 10002 events from a broad range of users, not only their paying customers or whitelisted group.
|
5. If a relay signals support for this NIP in their [NIP-11](11.md) document that means they're willing to accept kind 10002 events from a broad range of users, not only their paying customers or whitelisted group.
|
||||||
|
|
||||||
6. Clients SHOULD deduplicate connections by normalizing relay URIs according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-6).
|
6. Clients SHOULD deduplicate connections by normalizing relay URIs according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-6).
|
||||||
|
|
||||||
|
## Related articles
|
||||||
|
- [Outbox model](https://mikedilger.com/gossip-model/)
|
||||||
|
- [What is the Outbox Model?](https://habla.news/u/hodlbod@coracle.social/8YjqXm4SKY-TauwjOfLXS)
|
||||||
|
|||||||
15
85.md
Normal file
15
85.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
NIP-85
|
||||||
|
======
|
||||||
|
|
||||||
|
Specific Tag Replaceableability
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
`draft` `optional`
|
||||||
|
|
||||||
|
This NIP establishes semantics similar to addressable events in the range `30000-39999`, but using different tags as the deduplication mechanism.
|
||||||
|
|
||||||
|
Events in the range `40000-43999` are deemed to be replaceable by another event that contains the same `author`, the same `kind` and a duplicated `e` tag.
|
||||||
|
|
||||||
|
Events in the range `44000-47999` are deemed to be replaceable by another event that contains the same `author`, the same `kind` and a duplicated `p` tag.
|
||||||
|
|
||||||
|
Events in the range `48000-49999` are deemed to be replaceable by another event that contains the same `author`, the same `kind` and a duplicated `a` tag.
|
||||||
10
README.md
10
README.md
@@ -158,7 +158,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
|
|||||||
| `10015` | Interests list | [51](51.md) |
|
| `10015` | Interests list | [51](51.md) |
|
||||||
| `10030` | User emoji list | [51](51.md) |
|
| `10030` | User emoji list | [51](51.md) |
|
||||||
| `10050` | Relay list to receive DMs | [51](51.md), [17](17.md) |
|
| `10050` | Relay list to receive DMs | [51](51.md), [17](17.md) |
|
||||||
| `10063` | User server list | [blossom] |
|
| `10063` | User server list | [Blossom][blossom] |
|
||||||
| `10096` | File storage server list | [96](96.md) |
|
| `10096` | File storage server list | [96](96.md) |
|
||||||
| `13194` | Wallet Info | [47](47.md) |
|
| `13194` | Wallet Info | [47](47.md) |
|
||||||
| `21000` | Lightning Pub RPC | [Lightning.Pub][lnpub] |
|
| `21000` | Lightning Pub RPC | [Lightning.Pub][lnpub] |
|
||||||
@@ -166,7 +166,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
|
|||||||
| `23194` | Wallet Request | [47](47.md) |
|
| `23194` | Wallet Request | [47](47.md) |
|
||||||
| `23195` | Wallet Response | [47](47.md) |
|
| `23195` | Wallet Response | [47](47.md) |
|
||||||
| `24133` | Nostr Connect | [46](46.md) |
|
| `24133` | Nostr Connect | [46](46.md) |
|
||||||
| `24242` | Blobs stored on mediaservers | [blossom] |
|
| `24242` | Blobs stored on mediaservers | [Blossom][blossom] |
|
||||||
| `27235` | HTTP Auth | [98](98.md) |
|
| `27235` | HTTP Auth | [98](98.md) |
|
||||||
| `30000` | Follow sets | [51](51.md) |
|
| `30000` | Follow sets | [51](51.md) |
|
||||||
| `30001` | Generic lists | [51](51.md) |
|
| `30001` | Generic lists | [51](51.md) |
|
||||||
@@ -216,7 +216,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
|
|||||||
[joinstr]: https://gitlab.com/1440000bytes/joinstr/-/blob/main/NIP.md
|
[joinstr]: https://gitlab.com/1440000bytes/joinstr/-/blob/main/NIP.md
|
||||||
[NKBIP-01]: https://wikistr.com/nkbip-01
|
[NKBIP-01]: https://wikistr.com/nkbip-01
|
||||||
[NKBIP-02]: https://wikistr.com/nkbip-02
|
[NKBIP-02]: https://wikistr.com/nkbip-02
|
||||||
[Blossom]: https://wikistr.com/blossom
|
[blossom]: https://github.com/hzrd149/blossom
|
||||||
[Tidal-nostr]: https://wikistr.com/tidal-nostr
|
[Tidal-nostr]: https://wikistr.com/tidal-nostr
|
||||||
|
|
||||||
## Message types
|
## Message types
|
||||||
@@ -262,7 +262,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
|
|||||||
| `q` | event id (hex) | relay URL | [18](18.md) |
|
| `q` | event id (hex) | relay URL | [18](18.md) |
|
||||||
| `r` | a reference (URL, etc) | -- | [24](24.md), [25](25.md) |
|
| `r` | a reference (URL, etc) | -- | [24](24.md), [25](25.md) |
|
||||||
| `r` | relay url | marker | [65](65.md) |
|
| `r` | relay url | marker | [65](65.md) |
|
||||||
| `t` | hashtag | -- | [24](24.md) |
|
| `t` | hashtag | -- | [24](24.md), [34](34.md) |
|
||||||
| `alt` | summary | -- | [31](31.md) |
|
| `alt` | summary | -- | [31](31.md) |
|
||||||
| `amount` | millisatoshis, stringified | -- | [57](57.md) |
|
| `amount` | millisatoshis, stringified | -- | [57](57.md) |
|
||||||
| `bolt11` | `bolt11` invoice | -- | [57](57.md) |
|
| `bolt11` | `bolt11` invoice | -- | [57](57.md) |
|
||||||
@@ -289,7 +289,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
|
|||||||
| `relay` | relay url | -- | [42](42.md), [17](17.md) |
|
| `relay` | relay url | -- | [42](42.md), [17](17.md) |
|
||||||
| `relays` | relay list | -- | [57](57.md) |
|
| `relays` | relay list | -- | [57](57.md) |
|
||||||
| `server` | file storage server url | -- | [96](96.md) |
|
| `server` | file storage server url | -- | [96](96.md) |
|
||||||
| `subject` | subject | -- | [14](14.md), [17](17.md) |
|
| `subject` | subject | -- | [14](14.md), [17](17.md), [34](34.md) |
|
||||||
| `summary` | summary | -- | [23](23.md), [52](52.md) |
|
| `summary` | summary | -- | [23](23.md), [52](52.md) |
|
||||||
| `thumb` | badge thumbnail | dimensions in pixels | [58](58.md) |
|
| `thumb` | badge thumbnail | dimensions in pixels | [58](58.md) |
|
||||||
| `title` | article title | -- | [23](23.md) |
|
| `title` | article title | -- | [23](23.md) |
|
||||||
|
|||||||
Reference in New Issue
Block a user