mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-04 13:45:50 -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": [
|
"tags": [
|
||||||
["e", <32-bytes hex of the id of the poll event>, <primary poll host relay URL>],
|
["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>],
|
["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_maximum", "maximum satoshi value for inclusion in tally"],
|
||||||
["value_minimum", "minimum satoshi value for inclusion in tally"],
|
["value_minimum", "minimum satoshi value for inclusion in tally"],
|
||||||
["consensus_threshold", "required percentage to attain consensus <0..100>"],
|
["consensus_threshold", "required percentage to attain consensus <0..100>"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user