upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/01.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-01-21 07:36:44 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-01-21 07:36:44 -0300
commit69685588f0d60e73ac0148181472e1ceaea4f767 (patch)
tree50c770881e2c289004cb989c47fa5735d35c11d0 /01.md
parent8b18e7818e0c2fcbd8bc82e0660f8b6ba23af50d (diff)
specify lowercase on nip01 event hex fields.
Diffstat (limited to '01.md')
-rw-r--r--01.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/01.md b/01.md
index d040666..38ba290 100644
--- a/01.md
+++ b/01.md
@@ -16,8 +16,8 @@ The only object type that exists is the `event`, which has the following format
16 16
17```json 17```json
18{ 18{
19 "id": <32-bytes sha256 of the the serialized event data> 19 "id": <32-bytes lowercase hex-encoded sha256 of the the serialized event data>
20 "pubkey": <32-bytes hex-encoded public key of the event creator>, 20 "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,
21 "created_at": <unix timestamp in seconds>, 21 "created_at": <unix timestamp in seconds>,
22 "kind": <integer>, 22 "kind": <integer>,
23 "tags": [ 23 "tags": [