Commit Graph

235 Commits

Author SHA1 Message Date
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
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
7fe572ec5a
Merge pull request #26 from jb55/reactions 2022-08-01 08:22:23 -03:00
William Casarin
6903ff5b2c nip25: make generic like an explicit +
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-31 12:44:40 -07:00
William Casarin
89bb08ba86 nip25: include dislikes/downvotes
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-30 10:09:33 -07:00
William Casarin
dcbd504639 NIP-25: Reactions
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-30 09:50:26 -07:00
William Casarin
f2cc7bd86f
Merge pull request #23 from Semisol/master
nip16: small fix
2022-07-25 19:02:01 -07:00
Semisol
1b94488742
nip16: small fix 2022-07-26 04:33:33 +03:00
Jeff Thibault
d1b6bdb18e
add relay logic 2022-07-22 12:53:54 -04:00
Jeff Thibault
8bef0e9d79
add that events from future are unacceptable 2022-07-22 12:45:14 -04:00
Jeff Thibault
f51ce9dc0e
add nip22: unacceptable event created_at field 2022-07-22 11:50:07 -04:00
140d48e4e9 note NIP-16. 2022-07-11 15:40:58 -03:00
3771186c03 change NIP-12 so only single-letter tags are indexed. 2022-07-10 15:33:07 -03:00
emeceve
5980907797 Fix some typos and adds json type to code blocks 2022-06-21 08:07:05 -03:00
7f7da50636
note kind 0 is on nip 1 too. 2022-06-20 14:51:21 -03:00
4d19ef128e update nip-02 to disallow null, only allow strings in tags.
fixes https://github.com/nostr-protocol/nips/pull/15
fixes https://github.com/fiatjaf/nostr-army-knife/issues/2
fixes https://github.com/fiatjaf/relayer/issues/3
2022-06-09 15:40:13 -03:00
Robert C. Martin
f367d820d4 update to nip01 to specify syntax for usernames. 2022-06-05 23:02:59 -03:00
Semisol
947fe3044a update readme to include NIPs 14, 15, and 16 2022-05-29 11:04:33 -03:00