toadlyBroodle
df236f4ab9
merge recent changes
2023-04-29 13:25:49 +09:00
michaelhall923
c5f43a8f90
Update 01.md
...
Info on "e" and "p" tags is kind of hard to find so I added a link to it in the place that I intuitively looked for it.
2023-04-21 10:17:36 -03:00
Yoji Shidara
4b44453626
Fix a typo; now types are EVENT, EOSE and NOTICE
2023-04-11 13:50:10 +09:00
fiatjaf
fb5b7c739f
merge NIP-15 into NIP-01.
2023-04-09 08:50:24 -03:00
Sepehr Safari
dbbf7902d9
remove tiny duplicate text
...
fixed "the the serialized event data" => "the serialized event data"
2023-03-16 20:54:00 -03:00
Semisol
b24eb78e04
Revert 'add NOTICE optional subscription_id'
...
Reverts 88009bea85
2023-03-16 17:21:57 -03:00
pablof7z
88009bea85
add NOTICE optional subscription_id
2023-03-16 13:46:08 -03:00
Josua Schmid
c74f11b7a9
Update NIP-01 to clarify pubkey reference
...
We mean to reference any public key. "the key" was a bit unspecific.
2023-03-03 18:59:37 -03:00
Mike O'Bank
5a80a906d4
Improve <subscription_id>
specification
...
- "random" is not an accurate description
- I've noticed long (sha256 hashes in hex) being rejected by some relays. So there seems a need to specify a max length.
- "non empty", cause an empty string could be interpreted as `null`
To be decided:
- Max length number
- Are `subscription_id`s case sensitive?
- Will `subscription_id`s be white space trimmed?
2023-02-25 15:55:28 -03:00
fiatjaf
379252f992
explicitly prohibit markdown on kind:1.
2023-02-25 13:54:27 -03:00
Jimmy Song
a9dd1ce771
Added clarification for signature to be in hex
2023-02-08 16:39:31 -03:00
Ben Franks
8362ff8f79
Update NIP-01 to clarify since and until filters
...
The since and until filters does not clarify integer format and some relays fail to recognize filters with a float based timestamp.
2023-01-25 14:21:52 -03:00
fiatjaf
69685588f0
specify lowercase on nip01 event hex fields.
2023-01-21 07:36:44 -03:00
sgmoore
cee42f806e
Minor grammar fixes
...
Minor grammar fix at line 13, 83, 85. and 111.
2022-12-26 17:19:38 -03:00
Hampus Sjöberg
e79c84aecc
LUD-01: fix typo for the desc of event kind 2
2022-12-24 20:38:34 -03:00
Jon Staab
5ef3b9c998
Remove username pattern requirements
...
Most implementation ignore this line. Enforcing that usernames not include spaces, special chracters, unicode, emojis, etc has no benefit and is unnecessarily user hostile.
2022-12-15 14:00:09 -03:00
Jonathan Staab
67c021ae97
Clarify use of kind 1 and kind 1000-10000
2022-12-08 14:33:43 -03: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
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
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
DZ
6d86133118
Update 01.md
...
fix indentation
2022-10-26 09:54:23 -07:00
DZ
c8a95a0968
Update 01.md
...
fix typo
2022-10-07 17:17:34 -03:00
emeceve
5980907797
Fix some typos and adds json type to code blocks
2022-06-21 08:07:05 -03:00
fiatjaf
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
fiatjaf
a4aea5337f
sneak filter.limit in nip-01.
2022-05-08 21:34:27 -03:00
fiatjaf
f25c7e672c
migrate nips from main nostr repo.
2022-05-01 07:48:57 -03:00