mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-06 14:22:09 -05:00
Update 69.md
This commit is contained in:
parent
455d2f4d30
commit
72260b273c
4
69.md
4
69.md
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## Poll format
|
## Poll format
|
||||||
|
|
||||||
'''
|
```json
|
||||||
{
|
{
|
||||||
"id": <32-bytes lowercase hex-encoded sha256 of the the serialized poll event data>
|
"id": <32-bytes lowercase hex-encoded sha256 of the the serialized poll event data>
|
||||||
"pubkey": <32-bytes lowercase hex-encoded public key of the poll event creator>,
|
"pubkey": <32-bytes lowercase hex-encoded public key of the poll event creator>,
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
"content": <arbitrary string>,
|
"content": <arbitrary string>,
|
||||||
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
||||||
}
|
}
|
||||||
'''
|
```
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user