mirror of
https://github.com/aljazceru/dlcspecs.git
synced 2026-01-31 19:54:25 +01:00
Fixed and shortened CET ToLocalOutput
This commit is contained in:
@@ -74,12 +74,14 @@ Where
|
||||
- `ToLocalOutput`'s script is:
|
||||
|
||||
OP_IF
|
||||
OP_2 <Oracle Signature Point> <Local CET Public Key> OP_2 OP_CHECKMULTISIG
|
||||
<Oracle Signature Point + Local CET Public Key>
|
||||
OP_ELSE
|
||||
<Timeout> OP_CHECKLOCKTIMEVERIFY OP_DROP
|
||||
OP_DUP OP_HASH160 <Hash160(Remote CET Public Key)> OP_EQUALVERIFY OP_CHECKSIG
|
||||
<Remote CET Public Key>
|
||||
OP_ENDIF
|
||||
OP_CHECKSIG
|
||||
|
||||
- Note that The addition in the if case is elliptic curve point addition
|
||||
- `ToRemoteOutput`'s script is:
|
||||
|
||||
OP_0 <Hash160(Remote CET Public Key)>
|
||||
|
||||
Reference in New Issue
Block a user