From 0afe727a0b2bddb94b3b63d71af5e855c20d4e91 Mon Sep 17 00:00:00 2001 From: 1HXb9KMAtwNJqz4egi6hJx08EQgJajiBTH <1HXb9KMAtwNJqz4egi6hJx08EQgJajiBTH@reference.cash> Date: Wed, 18 Dec 2019 14:05:43 -0500 Subject: [PATCH] wiki commit --- .../blockchain/transaction/unlocking-script.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/protocol/blockchain/transaction/unlocking-script.md b/protocol/blockchain/transaction/unlocking-script.md index 96e7a64..7cc116f 100644 --- a/protocol/blockchain/transaction/unlocking-script.md +++ b/protocol/blockchain/transaction/unlocking-script.md @@ -1,17 +1,3 @@ # Unlocking Script -An unlocking script is a [Script](/protocol/blockchain/script) that is used to prove that a transaction is permitted to spend a given UTXO. This is accomplished by first executing the unlocking script and then executing the locking script for the UTXO referenced by the transaction input. If this execution triggers no failures and leaves a single non-zero (TRUE) value on the stack, the UTXO has been successfully unlocked. One way to look at this is that the unlocking script provides an initial state that acts as an inverse to the previously published locking script. For more information about how script execution works, see [Script](/protocol/blockchain/script). - -## Standard Scripts - -While unlocking scripts are generally not restricted in their format, they are often de facto restricted due to the fact that they must create a stack state that allows the locking scripts to complete execution successfully. For the standard locking scripts that correspond to the below examples, see [Locking Script](/protocol/blockchain/transaction/locking-script). - -### Pay to Public Key - - - -### Pay to Public Key Hash - - - -### Pay to Script Hash +An unlocking script is a [Script](/protocol/blockchain/script) that is used to prove that a transaction is permitted to spend a given UTXO. This is accomplished by first executing the unlocking script and then executing the locking script for the UTXO referenced by the transaction input. If this execution triggers no failures and leaves a single non-zero (TRUE) value on the stack, the UTXO has been successfully unlocked. One way to look at this is that the unlocking script provides an initial state that acts as an inverse to the previously published locking script. For more information about how script execution works, see [Script](/protocol/blockchain/script). \ No newline at end of file