discreetlogcontracts / dlcspecs

Specification for Discreet Log Contracts
Creative Commons Attribution 4.0 International
239 stars 36 forks source link

Multi-Oracle Support #128

Closed nkohen closed 3 years ago

nkohen commented 3 years ago

Built on top of #110

TODO:

nkohen commented 3 years ago

I suppose order-ranked oracle info could be added as a negotiation_field to dlc_accept message and the initiator could choose to either sign or not.

@matthewjablack Currently it works the other way where the offerer sets a preference ranking (via the oracle_info of the contract_info) and the accepter can choose not to accept. Open to other ideas but I don't think adding a negotiation field makes sense in cases of actual disagreement (unlike rounding where it can make sense to merge both party's preferences)

matthewjablack commented 3 years ago

@matthewjablack Currently it works the other way where the offerer sets a preference ranking (via the oracle_info of the contract_info) and the accepter can choose not to accept.

@nkohen On second thought, this makes a lot more sense. Better not to complicate messaging protocol with negotiation fields.