From 9c0bd854261eb2edee01fbd070a608a8811caae6 Mon Sep 17 00:00:00 2001 From: nadams Date: Thu, 18 May 2017 06:46:33 -0700 Subject: [PATCH] Edited appdx-segwit.asciidoc with Atlas code editor --- appdx-segwit.asciidoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appdx-segwit.asciidoc b/appdx-segwit.asciidoc index 8d824db7..de25b664 100644 --- a/appdx-segwit.asciidoc +++ b/appdx-segwit.asciidoc @@ -68,7 +68,8 @@ In <>, Alice created a transaction to pay Bob for a cup of coffee DUP HASH160 ab68025513c3dbd2f7b92a94e0581f5d50f654e7 EQUALVERIFY CHECKSIG ---- -With Segregated Witness, a P2PKH output, is created instead a Pay-to-Witness-Public-Key-Hash (P2WPKH), which looks like this: +With Segregated Witness, Alice would create a Pay-to-Witness- +Public-Key-Hash (P2WPKH) script, which looks like this: .Example P2WPKH output script ---- @@ -352,4 +353,4 @@ Let’s look at an example of what incentives are created by the transaction fee Both transactions are less expensive when segregated witness is implemented. But comparing the costs between the two transactions, we see that before Segregated Witness, the fee is higher for the transaction that has a negative Net-new-UTXO. After Segregated Witness, the transaction fees align with the incentive to minimize new UTXO creation by not inadvertently penalizing transactions with many inputs. -Segregated Witness therefore has two main effects on the fees paid by bitcoin users. Firstly, segwit reduces the overall cost of transactions by discounting witness data and increasing the capacity of the bitcoin blockchain. Secondly, segwit’s discount on witness data correcting a misalignment of incentives that may have inadvertently created more bloat in the UTXO set.((("", startref="segwit16"))) +Segregated Witness therefore has two main effects on the fees paid by bitcoin users. Firstly, segwit reduces the overall cost of transactions by discounting witness data and increasing the capacity of the bitcoin blockchain. Secondly, segwit’s discount on witness data corrects a misalignment of incentives that may have inadvertently created more bloat in the UTXO set.((("", startref="segwit16")))