Commit Graph

200 Commits

Author SHA1 Message Date
Jonathan Staab
67c021ae97 Clarify use of kind 1 and kind 1000-10000 2022-12-08 14:33:43 -03:00
Thomas
2cb5ddd910
[timestamp] Add UNIX timestamp in seconds
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
2022-12-07 08:53:52 +01:00
Thomas
1bbae4d66b Update 40.md 2022-12-04 16:16:00 +01:00
Thomas
91bb09d1d3 Create 40.md 2022-12-04 16:14:31 +01:00
fiatjaf
5d292e0cbe
nip-01: improve connection/subscriptions recommendation and remove the ill-advised 3 subscriptions limit. 2022-12-02 19:54:00 -03:00
Fernando López Guevara
27c6652e0e
NIP-36 - sensitive content / content-warning (#82) 2022-12-01 20:41:15 -03:00
fiatjaf
bbc931d02d
refine NIP rules. 2022-11-29 11:41:46 -03:00
monlovesmango
0dcf11df80
add nip-26 to readme 2022-11-28 14:31:50 -06:00
fiatjaf
9302c35573
add alby to NIP-07. 2022-11-27 12:03:46 -03:00
Jon Staab
cf5eaf6360 Amend NIP 11 to require CORS support 2022-11-25 13:03:03 -03:00
fiatjaf
743e43a8d4 finalize some NIPs we will not going to change anymore. 2022-11-22 14:52:34 -03:00
Michael Dilger
631e9760bf
NIP-35 User Discovery (#73)
* Draft NIP for user discovery

* Renumber to NIP-35

* spelling fix

* Add to README

* fix quote

* and colon
2022-11-19 11:28:47 -08:00
Mike Dilger
c274c65856 Reword NIP-01 to clarify no line breaks. Existing language of "indentation" implies line breaks. 2022-11-15 17:36:13 -03:00
khimaros
a0852a7cbe stronger wording for relay deletion behavior
- change "MAY" to "SHOULD" for removing referenced events
- suggest indefinite retention for deletion events on relays
- include recommendation for clients to rebroadcast deletion events to relays
2022-11-14 14:52:29 -03:00
fiatjaf
30f1e64e01
Merge pull request #62 from jb55/command-results 2022-11-11 11:00:40 -03:00
alex
f09362695d nip16: clarify about the signers of replaceable events
A newer replaceable event must be signed by the same key.
2022-11-11 07:56:24 -03:00
William Casarin
c510e646d0 NIP-20: server errors happen! 2022-11-10 13:14:23 -08:00
William Casarin
ff26b959f8 NIP-20: More clarity around malformed vs invalid events 2022-11-10 12:55:44 -08:00
William Casarin
7569773ad6 NIP-20: add a note about client handling 2022-11-10 12:20:32 -08:00
William Casarin
e7f74d21c4 NIP-20: pow suggestion 2022-11-10 12:02:14 -08:00
William Casarin
a0b0a021a8 NIP-20: add "invalid" message suggestion 2022-11-10 11:57:52 -08:00
William Casarin
15514283f3 NIP-20: Command Results
When submitting events to relays, clients currently have no way to know
if an event was successfully committed to the database. This NIP
introduces the concept of command results which are like NOTICE's except
provide more information about if an event was accepted or rejected.
2022-11-10 10:29:11 -08:00
Blake Jakopovic
27683d3441 Update 10.md
Fixed typo
2022-11-08 16:45:40 -03:00
w3irdrobot
79bb56c2f4 Fix regex for SetMetadata in NIP1
It appears the regex given in NIP1 for setting the username in the setmetadata event was slightly off. I think the fix here is what was intended. Though I think what was meant here was pretty obvious, to make it easier on future developers, I updated the regex to something that should work with just copying and pasting.
2022-11-04 16:33:57 -03:00
William Casarin
b8b5e3aa40 nip25: fix code example
content should not be blank
2022-10-30 08:34:14 -07:00
DZ
6ba2fc3338 Update README.md 2022-10-26 09:54:23 -07:00
DZ
3c0c3ca0f3 Update README.md
add message-type tables
2022-10-26 09:54:23 -07:00
DZ
6d86133118 Update 01.md
fix indentation
2022-10-26 09:54:23 -07:00
Ricardo Arturo Cabral Mejía
147cd0a2ea
Merge pull request #53 from Semisol/patch-1
nip16: small fix
2022-10-17 14:24:06 -04:00
Semisol
497d5d9ddf
nip16: small fix 2022-10-16 20:24:21 +03:00
DZ
c8a95a0968 Update 01.md
fix typo
2022-10-07 17:17:34 -03:00
fiatjaf
b62aa418de
Merge pull request #28 from Minds/minds-nip-26 2022-09-23 13:43:01 -03:00
Greg Heartsfield
fdbf817961 add kinds reserved by NIP-28 2022-09-11 08:23:02 -03:00
Greg Heartsfield
fadbcc0aee add NIP-28 link in README 2022-09-11 08:23:02 -03:00
Christopher David
3423a6dfbc
NIP-28: Public Chat (#38) 2022-09-10 14:28:08 -03:00
Leo Wandersleb
3e0e6ca2d6 separate array elements with , 2022-09-02 18:47:42 -03:00
Mark Harding
78522b50a1
Changes based on feedback 2022-08-24 13:24:50 +01:00
William Casarin
7af2540c6e reactions: we should be able to react to any note
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 15:50:39 -07:00
Ricardo Arturo Cabral Mejía
533d316170
Remove NIP-27 2022-08-16 22:59:02 -04:00
Ricardo Arturo Cabral Mejía
ef059e0fde
NIP-27 Multicasting 2022-08-16 22:57:22 -04:00
William Casarin
f6346b6e22
Merge pull request #22 from jeffthibault/nip22-unacceptable-event-time
NIP-22: event created_at limits
2022-08-15 13:09:53 -07:00
Jeff Thibault
903cc0992e
add Giszmo, add comment in code example 2022-08-14 11:26:39 -04:00
Jeff Thibault
e8a501c08f
Merge pull request #1 from Giszmo/nip22
reworded nip-22
2022-08-14 11:18:43 -04:00
Leo Wandersleb
68300c5990
reword nip22, mention replaceable events 2022-08-13 21:50:38 -04:00
Jeff Thibault
6ee98c1bfb
spelling nit 2022-08-13 14:08:14 -04:00
Jeff Thibault
f5852fda83
add nip link to readme 2022-08-13 13:54:28 -04:00
Jeff Thibault
ef0f8a1186
rename and rewrite to be more generic 2022-08-13 13:52:14 -04:00
Jeff Thibault
a902083bac
Merge branch 'nostr-protocol:master' into nip22-unacceptable-event-time 2022-08-13 10:03:37 -04:00
Mark Harding
e13f6d39b9
First draft of Delegated Event Signing 2022-08-04 09:33:38 +01:00
fiatjaf
7fe572ec5a
Merge pull request #26 from jb55/reactions 2022-08-01 08:22:23 -03:00