Questions tagged [discreet-log-contract]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
35 views

What are the security guarantees of DLC oracles?

DLC (Discreet Log Contracts) is a protocol that allows two parties to create a bet based on the outcome of some real-world event, as reported by a trusted oracle. Alice and Bob lock coins in a multi-...
user avatar
3 votes
1 answer
63 views

Bitcoin transaction script debugging strategy - how to debug 'invalid script' errors

I've been playing around with DLC transactions but I can't seem to create a valid CET transaction to conclude simple all or nothing bets. Further details below on my specific case, though this ...
user avatar
  • 196
3 votes
1 answer
198 views

DLC funding transaction error: non-mandatory-script-verify-flag (Witness program hash mismatch) (code 64)

I'm attempting to construct a funding transaction for a DLC. So far I have created the following transaction which encodes entry of a bet for local/remote collateral of 1000/1000 sats and binary win/...
user avatar
  • 196