Skip to content

Commit

Permalink
Add ordered nonce requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibo-lg committed Oct 6, 2022
1 parent aba655b commit 930f119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ The `schnorr_attestation_scheme` provides the information required to anticipate
* [`schnorr_proof_of_knowledge`:`proof_of_knowledge`]

where `proof_of_knowledge` ensures that the oracle knows the pre-image of the `attestation_public_key` and all `oracle_nonce`.
To be valid, an oracle MUST order the serialized nonces lexicographically.

#### Requirements

Expand Down Expand Up @@ -537,7 +538,7 @@ The `schnorr_attestation` type provides signatures over an event outcome result
* [`nb_signatures`:`signatures`]
* [`bigsize`: `nb_outcomes`]
* [`nb_outcomes`:`signatures`]
Where the signatures are ordered the same as the nonces in their original `oracle_event`.
Where the signatures are ordered the same as the nonces in their original `schnorr_attestation_scheme`.
The outcomes should be the message signed, ordered the same as the signatures.

## Authors
Expand Down

0 comments on commit 930f119

Please sign in to comment.