From f3ab027eb84e68841a89252ae3a1c7cbeae2237b Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Fri, 1 Mar 2024 16:37:40 +0800 Subject: [PATCH] Include Multi Unlock as valid reference target --- tips/TIP-0045/tip-0045.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tips/TIP-0045/tip-0045.md b/tips/TIP-0045/tip-0045.md index b4a662e71..6b6f05097 100644 --- a/tips/TIP-0045/tip-0045.md +++ b/tips/TIP-0045/tip-0045.md @@ -1116,11 +1116,6 @@ The Reference Unlock references a previous Unlock (which must not -##### Reference Unlock Syntactic Validation - -- The _Reference Unlock_ at index `i` must have `Reference < i` and the unlock at index `Reference` must be a _Signature - Unlock_. - Example: Consider a Transaction containing the UTXO Inputs 0, 1 and 2, where 0 and 2 are both spending outputs belonging to the same Ed25519 address `A` and 1 is spending from a different address `B`. This results in the following structure of the Unlocks part: @@ -1131,6 +1126,11 @@ following structure of the Unlocks part: | 1 | A _Signature Unlock_ holding the Ed25519 signature for address `B`. | | 2 | A _Reference Unlock_ which references 0, as both require the same signature for `A`. | +##### Reference Unlock Syntactic Validation + +- The _Reference Unlock_ at index `i` must have `Reference < i` and the unlock at index `Reference` must be a _Signature + Unlock_ or _Multi Unlock_. + ##### Reference Unlock Semantic Validation - It must hold for the `Unlock` at index `Reference`, to which the _Reference Unlock_ at index `i` points and the