15 Commits

Author SHA1 Message Date
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
benthecarman
48ea01bc5e Restrictions on Script Public Keys with standardness rules (#137) 2021-02-24 00:46:30 -06:00
benthecarman
c8e8071561 Define input & output ordering (#136) 2021-02-24 00:36:29 -06:00
Nadav Kohen
10891f6fe1 Generalized contract_info TLV (#130)
* Updated TLVs to allow support for numeric outcome and multiple oracle DLCs

* Added threshold field to multi-oracle oracle_infos

* Responded to review

* Some more review
2021-02-16 01:41: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
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
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
Adam Gibson
50f73546a8 typos 2020-03-18 15:12:40 +00:00
Tibo-lg
7b8a693a0a Update name of keys used in CET 2020-02-28 10:47:52 +09:00
nkohen
28b674b560 Responded to review and removed ToRemote Address entirely 2020-02-27 14:05:43 -06:00
nkohen
27714629ea Altered the Local ToLocal key to use the funding key and the hash of the ToLocal key to avoid rogue key attacks 2020-02-27 14:04:13 -06:00
nkohen
107d236bde Moved from using custom KeyDerivation to just using 2 keys and 2 addresses that are reused across CETs 2020-02-27 14:04:13 -06:00
Ben Carman
8c168add59 Fix links to be references to the files rather than the github 2020-02-11 22:06:19 -06:00
Tibo-lg
686cc59b7e Add protocol specifications 2020-01-14 09:28:14 +09:00