Commit Graph

5 Commits

Author SHA1 Message Date
Thibaut Le Guilly
8ecdf2aa55 Update messaging and serialization (#163)
* Update messaging and serialization

* Replace collection prefixes with bigsize instead of u16

* add test vectors

* Use old serialization format for oracle messages

* Add temporary contract id to offer message

* Rename leftEndPoint to endPoint

* Update test vectors

* Fix forgotten types

* Replace bigsize with u64 in payout curve and numeric outcome

* Update test vectors

* use bigsize for vector prefix in rounding intervals

* Update test vectors setting base as u16

* Update test vector with fix to precision field

* Update test vectors to include temporary contract id in offer message

* Add protocol version to accept message

* Add protocol version to sign message

* Fix test vectors
2022-06-12 08:36:04 -05:00
Chris Stewart
4085754632 Fix link (#179) 2021-11-19 09:34:49 -06:00
Nadav Kohen
e5aa4c0fc2 Numeric Outcome DLC refactor (#157)
* Re-worked CET language in numeric outcome specifications and added a diagram

* Responded to review

* Added white background version of diagram
2021-03-30 15:10:01 -05:00
Nadav Kohen
898e81a23c Rewording and Renaming clean-up (#142)
Responded to review

Cleaned up a couple sentences
2021-02-24 00:51:44 -06:00
Nadav Kohen
b9ac02c5aa Numeric Outcome DLCs (#110)
* Began work on Numeric Multi-Nonce Outcome spec, wrote compression algorithm

* More progress, specifically on curve serialization and polynomial interpolation

* Separated precision from function points and added note about polynomial evaluation optimizations when precision is not 1

* Wrote section for putting everything together into a CET set computation

* Wrote CET signature validation section

* Filled in all remaining holes!

* Added table of contents

* Added clarification about why base 2 is best, removed some first person

* Added concrete example

* Added subsections to general example

* Added note on non-generality of concrete example

* Clarified optimizations

* Fixed optimizations

* Fixed algorithm typos

* Responded to review, renamed precision_range -> rounding_interval

* Replaced paragraph about accepter's payout_function with new recommendation

* Split NumericOutcome.md into three files and added some design discussion/intentions

* Added extra precision to interpolation points in general payout functions

* Responded to Ben's review
2021-02-05 02:13:59 -06:00