mirror of
https://github.com/aljazceru/dlcspecs.git
synced 2025-12-17 06:14:23 +01:00
* October meeting doc * Made sighash comment less percise and hence less wrong * Some updates * Post meeting updates
5.2 KiB
5.2 KiB
October 6th (7 PM CST)/7th (9 AM JST) Meeting 2020
Housekeeping
- There is a google form asking for feedback about our meeting format
Secp256k1 Branch Progress
- schnorrsig merged into secp256k1 (#558)!
- Updated temp-everything branches called new-temp-everything
- ZKP Branch built on top of updated schnorrsig containing ECDSA adaptor sigs - upcoming
- ZKP has new tooling allowing for merging upstream PRs, blockstream folks are in the process of updating ZKP to match upstream
- Once this is done, I will be opening an ECDSA adaptor sig branch which will be permanent (until merged) and replace
new-temp-everythingbranch
- BIP 340 support for rust-secp256k1
Oracle Specifications
- URI format proposal
- Descriptor proposal
- We have decided to move forward with the descriptor proposal where we will add a kind of event descriptor allowing for Lloyd's URI-based events
- "Oracle Address" proposal
- We have decided we want a serialized blob which can be copy/pasted that the oracle signs for each event
- Nadav proposes we use TLV format to be inter-operable with P2P messaging, Ben will implement a proposal
- We have decided we want a serialized blob which can be copy/pasted that the oracle signs for each event
- Oracle Key Rotation/Public Key Infrastructure discussion
- Everyone agrees that oracles should not have too many events for a single signing key
- Everyone agrees that having multiple keys is part (or all) of the solution
- Not everyone agrees about the idea of rotating publicly known keys
TLV and LN Message Format
- Turns out these are two separate things and BOLT 1 is unanimously agreed to be vague and confusing
- Matt Corallo suggests we use fragmentation if we want to be LN BOLT 8 compatible
- This will likely require specification at some point, but may be general enough to end up in the BOLTs
P2P Network Considerations
- LN doesn't solve all of the P2P problems we had assumed it does (like Network Address Translation)
- Nicholas proposes we use existing TOR client infrastructure
- Alternative is to have users set up their own port forwarding
- Any other ideas?
- BIP 324?
- Impl not moving forward
- Maybe Lloyd wants to do something about this?
- Antoine doesn't like BIP 324
- Impl not moving forward
- BIP 324?
Specification Writing
- Initial TLV types and deterministic fee computation merged!
- Static test vector PR nearing completion
- Initial proposal for on-chain/non-interactive handling protocol
- ariard has received and responded to initial review
- https://github.com/discreetlogcontracts/dlcspecs/pull/87
- Lloyd will write a doc like BIP 340 describing our variant of ECDSA Adaptor Signatures
- High level section (motivation, abstract) are higher priority because people ask for resources
- Actual variant specification is lower priority as everyone is using the same binaries right now
- Oracle Specification
- See above
- Using SIGHASH_SINGLE (or other sighashes)?
- https://github.com/discreetlogcontracts/dlcspecs/issues/91
- Contract flag bit?
- Double CETs?
- Discussion to be continued online
- Tibo wants Antoine to clarify whether change (anchor) outputs on funding tx is a MAY or a MUST
- That is, is it a security issue or a convenience or something else?
- At some point we will need to begin work on the following, any volunteers?
- Non-enumerated outcomes (multiple nonces)
- Multiple-oracle DLCs
- Antoine volunteers to write a doc for client-side oracle validation
- Anything else?
Miscellaneous TODOs
- TLV Streams
- Dust Limit Computation
- Tx Input and Output Ordering (using
serial_ids) - Links between spec docs that reference each other
- Specify string encodings
- Pretty Pictures!
- Linter for Specs
- Non-prev_tx DLC version
- I've been hacked message
Lightning DLCs
- We have begun trying to support more general outputs on commitment transactions in eclair
- Lloyd progress update on witness-asymmetric channels
- Antoine progress update on general outputs in rust-lightning
- Anyone else have anything to report?