Commit Graph

89 Commits

Author SHA1 Message Date
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
Nadav Kohen
a7009ec5d6 Tuesday Jan 5 2021 Meeting (#129)
* Added meeting doc for Jan 5 2021

* Added notes from meeting
2021-01-12 15:36:28 -06:00
benthecarman
de9939740d Specify signing algo for Oracle (#113) 2021-01-07 01:07:30 -06:00
Nadav Kohen
81b09e9fd1 Tuesday December 8 2020 Meeting (#119)
* Added meeting doc for December 8

* Added some oracle changes

* Updated meeting doc with notes from within the meeting
2020-12-28 15:13:22 -06:00
Ben Carman
5f8decf05b Fix uint16 -> u16 in Digit Decomp Descriptor (#127) 2020-12-23 03:08:09 -06:00
Thibaut Le Guilly
743725390e Enforce size prefixes for enumeration messages (#123) 2020-12-22 00:44:02 -06:00
Thibaut Le Guilly
45abe0c50d Fix contract id computation (#124) 2020-12-17 01:37:14 -06:00
Gleb Naumenko
2a732d319d Fix typos (#118) 2020-12-04 13:38:24 -06:00
Nadav Kohen
459478c5bd Tuesday November 10 2020 Meeting (#112)
* November Meeting Doc

* Fixed bip typo

* Updated meeting doc before meeting

* last-minute updates

* Separated out the meeting legend into readme
2020-11-19 13:03:50 -06:00
Thibaut Le Guilly
c56b679bdf Add rational fo overflow (#115)
* Add rational fo overflow

* Change base 10 to base for precision
2020-11-17 08:24:05 +09:00
Antoine Riard
fcb7762418 Add Non-Interactive Protocol (#87) 2020-11-09 13:33:53 -06:00
Thibaut Le Guilly
3df71667e9 oracle proposal (#55) 2020-11-04 11:40:27 +09:00
Nadav Kohen
0b69c3ed78 Introduces happy-path static test vectors (#100)
* Added test vectors deleted from #81

* Fixed dlc_test redeemscript and added new dlc message parsing tests

* Fixed chain_hash endianness

* Added Schnorr signature point computation test vectors

* Restructured contract info json

* Restructured signature TLVs dlc_message_test.json

* UInt16 prefixed scripts and added hash pre-images to test vectors

* Added Nicolas' tests for NFC normalization and hashing

* Added dlc fee computation tests

* Added clarification to redeemscript in funding_input_v0 wrt fee computation

* Added basic tx building tests

* Updated test vectors to use 107 witness bytes for P2WPKH

* Updated test vectors to include non-p2wpkh inputs as well as dummy scripts to be used in fee tests for less modular APIs

* Added maxWitnessLen to inputs explicitly

* Fixed order and serialization of signatures

* Fixed backward stack funding signatures
2020-10-29 03:17:50 -05:00
Thibaut Le Guilly
bcedd61e2c define sum function (#107) 2020-10-09 11:36:24 -05:00
Ben Carman
e393127632 Fix link to funding_input_v0 (#106) 2020-10-09 11:34:50 -05:00
Ben Carman
44837f9472 Oracle Announcement TLVs (#105)
* Oracle Announcement TLVs

* Nadav's review

* Respond to more review

* Range Event Descriptor

* Add num outcomes to enum descriptor
2020-10-08 15:00:37 -05:00
Nadav Kohen
90b9cb7463 Tuesday October 6 2020 Meeting (#101)
* October meeting doc

* Made sighash comment less percise and hence less wrong

* Some updates

* Post meeting updates
2020-10-07 10:09:04 -05:00
Thibaut Le Guilly
b8a009de69 Specify u16 as script prefix (#103) 2020-10-01 10:07:08 -05:00
Nadav Kohen
22b23ebe39 Proposed v0 DLC TLV messages and Deterministic Fee Computation (#81)
* Specified DLC TLV messages and added happy-path test vectors

* Responded to Ben's review

* Updated test vectors to use correct Multisignature ordering and up-to-date BIP 340

* Responded to Tibo's review

* Attempted to specify funding inputs and funding signatures in a general way

* Regenerated test vectors as per the updated funding input and funding signature specification

* Specified generalized fee computation and fixed test vectors

* Added oracle signature and signed transactions to test vectors

* Responded to review from Tibo

* Fixed table of contents

* Clarified TLV vs. LN Message format, fixed off-by-one fee computation, updated test vectors for fees, have not yet updated test vectors for LN Message format

* Made offer, accept and sign conform with Lightning Message format

* Added a clarification

* Made contract_info a proper object

* Fixed test vector contract id hashes

* Made redeem script use compact size uint and removed test vectors from this PR
2020-09-29 10:33:18 -05:00
Thibaut Le Guilly
dfa2a46153 Fix broken links in Messaging.md (#92) 2020-09-17 17:28:08 +09:00
Thibaut Le Guilly
6d443fc8fd Add cfd and p2pd references (#80) 2020-09-09 06:48:57 -05:00
Nadav Kohen
d379bf5639 Updated the readme (#79) 2020-09-08 17:10:15 -05:00
Ben Carman
f724f82c3b Order funding keys by lexicographical order (#75)
* Order funding keys by lexicographical order

* Add clarifation and rationale
2020-09-08 17:10:03 -05:00
Nadav Kohen
b0cbed2552 Peer Protocol for Contract Negotiation Specification (#59)
* Added Peer Protocol specification

* Responded to review

* Responded to more review
2020-09-08 16:40:04 -05:00
Nadav Kohen
a966ac7297 Adaptor DLC Transactions Specification (#57)
* Re-wrote the Transactions specification to match the new adaptor signature based DLCs and to match the BOLT style

* Responded to some review
2020-09-08 16:05:27 -05:00
Nadav Kohen
7905d5e89a Tuesday September 1 2020 Meeting (#66)
* Tuesday September 1 2020 Meeting

* Added some details

* Add C# impl
2020-09-08 15:46:15 -05:00
Chris Stewart
ebf9414fc9 Merge pull request #49 from Christewart/2020-08-06-intro-readme
Add introduction to README
2020-08-06 12:59:31 -05:00
christewart
7c26c32646 Remove redundant 'project' word 2020-08-06 07:20:56 -05:00
christewart
e4c1370df7 Remove INTRO from TODO, add our project dashboard 2020-08-06 07:19:50 -05:00
christewart
7296cdef02 Add introduction to README 2020-08-06 06:52:13 -05:00
Chris Stewart
29b1d5da6f Merge pull request #42 from nkohen/meeting
Tuesday August 4 2020 Meeting
2020-08-06 06:34:48 -05:00
nkohen
b2df52e83b Post meeting notes 2020-08-05 12:43:55 -05:00
Chris Stewart
073986db63 Add implementations section on the README (#43)
* Add implementations and bitcoin-s section to the README

* Add interactive demo, add adaptor-dlc branch for implementation
2020-08-03 15:00:34 -05:00
nkohen
32e77b4f10 Added some topics people want to discuss 2020-07-31 10:19:25 -05:00
nkohen
0c882ee818 Added start of agenda for Aug. 4 2020 meeting 2020-07-29 16:40:04 -05:00
Nadav Kohen
fa238f8213 June 9 2020 Meeting (#41)
* Added doc for june_9_2020 meeting

* Responded to review
2020-06-15 12:52:11 -05:00
Tibo-lg
ba82c87984 Update introduction 2020-06-04 16:37:19 +09:00
Antoine Riard
fe23400bb4 [introduction] Add a introduction starter
We describe main ideas of DLC, therefore oracle, DLC, offers negotiation
contract execution transaction, adaptor sigs.
2020-06-04 16:37:19 +09:00
Nadav Kohen
bc02868961 Merge pull request #36 from nkohen/add-meeting-dir
Added meeting directory and first meeting doc
2020-05-08 09:47:31 -06:00
nkohen
6139165bf0 Notes from meeting 2020-05-07 10:00:32 -05:00
nkohen
84b4cfc810 Added meeting directory and first meeting doc 2020-05-01 12:36:14 -05:00
Thibaut Le Guilly
ef2b794e20 Merge pull request #31 from Tibo-lg/add-resources-page
Add resources page
2020-03-26 08:20:44 +09:00
Nadav Kohen
5f6c02d882 Merge pull request #34 from AdamISZ/minor-edits-1
typos in Protocol desc
2020-03-24 08:58:08 -06:00
Thibaut Le Guilly
0fc2e66d00 Merge pull request #33 from Tibo-lg/fix-typos
Fix small typos
2020-03-19 10:32:20 +09:00
Adam Gibson
50f73546a8 typos 2020-03-18 15:12:40 +00:00
Tibo-lg
503b63cea2 Fix small typos 2020-03-11 14:37:45 +09:00
Tibo-lg
9fb2441d95 Add resources page 2020-03-11 11:41:40 +09:00
Nadav Kohen
8b80ba5d50 Merge pull request #27 from benthecarman/update-roadmap
Update roadmap to reflect #10, #23
2020-02-28 13:04:05 -07:00
Ben Carman
fd6c683d6f Update roadmap to reflect #10, #23 2020-02-28 13:56:00 -06:00
Nadav Kohen
206c609944 Merge pull request #28 from Tibo-lg/update-cet-key-name
Update name of keys used in CET
2020-02-28 12:51:37 -07:00