Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Signature unlock Semantic validation #112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tips/TIP-0020/tip-0020.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ The following criteria defines whether a payload passes the semantic validation:
* If it is a _Signature Unlock_:
* The `Signature Type` must match the `Address Type` of the UTXO,
* the BLAKE2b-256 hash of `Public Key` must match the `Address` of the UTXO and
* the `Signature` field must contain a valid signature for `Public Key`.
* the `Signature` field must contain a valid signature for the Blake2b-256 hash of the serialized `Transaction Essence`.
* If it is a _Reference Unlock_, the referenced _Signature Unlock_ must be valid with respect to the UTXO.
* If it is an _Alias Unlock_:
* The address unlocking the UTXO must be an _Alias Address_.
Expand Down