mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -05:00
update poll_options value to json serialized Map<Int, String>
This commit is contained in:
parent
db4741de5c
commit
c7d87005be
7
69.md
7
69.md
|
@ -42,7 +42,12 @@ A poll event:
|
|||
"tags": [
|
||||
["e", <32-bytes hex of the id of the poll event>, <primary poll host relay URL>],
|
||||
["p", <32-bytes hex of the key>, <primary poll host relay URL>],
|
||||
["poll_options", "[[0, 'poll option 0 description string'], [1, 'poll option 1 description string'], [<n>, 'poll option <n> description string']]"],
|
||||
["poll_options", "{
|
||||
\"0\": \"poll option 0 description string\",
|
||||
\"1\": \"poll option 1 description string\",
|
||||
\"n\": \"poll option <n> description string\"
|
||||
}"
|
||||
],
|
||||
["value_maximum", "maximum satoshi value for inclusion in tally"],
|
||||
["value_minimum", "minimum satoshi value for inclusion in tally"],
|
||||
["consensus_threshold", "required percentage to attain consensus <0..100>"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user