mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 16:18:11 +00:00
Edited ch06_transactions.adoc with Atlas code editor
This commit is contained in:
parent
29143e44db
commit
e793451328
@ -781,7 +781,7 @@ problems with placing witnesses in the input script field.
|
|||||||
|
|
||||||
==== Circular Dependencies
|
==== Circular Dependencies
|
||||||
|
|
||||||
Many contract protocols for Bitcoin involve a series of transactions
|
Many ((("transactions", "witnesses", "circular dependencies", id="transaction-witness-circular")))((("witnesses", "circular dependencies", id="witness-circular")))((("circular dependencies", id="circular")))contract protocols for Bitcoin involve a series of transactions
|
||||||
that are signed out of order. For example, Alice and Bob want to
|
that are signed out of order. For example, Alice and Bob want to
|
||||||
deposit funds into a script that can only be spent with signatures from
|
deposit funds into a script that can only be spent with signatures from
|
||||||
both of them, but they each also want to get their money back if the
|
both of them, but they each also want to get their money back if the
|
||||||
@ -807,7 +807,7 @@ txid for Tx~0~ is part of the input's outpoint in Tx~1~. That means
|
|||||||
there's no way for Alice and Bob to construct Tx~1~ until both
|
there's no way for Alice and Bob to construct Tx~1~ until both
|
||||||
signatures for Tx~0~ are known--but if they know the signatures for
|
signatures for Tx~0~ are known--but if they know the signatures for
|
||||||
Tx~0~, one of them can broadcast that transaction before signing the
|
Tx~0~, one of them can broadcast that transaction before signing the
|
||||||
refund transaction, eliminating the guarantee of a refund. This is a
|
refund transaction, eliminating the guarantee of a refund. This((("transactions", "witnesses", "circular dependencies", startref="transaction-witness-circular")))((("witnesses", "circular dependencies", startref="witness-circular")))((("circular dependencies", startref="circular"))) is a
|
||||||
_circular dependency_.
|
_circular dependency_.
|
||||||
|
|
||||||
==== Third-Party Transaction Malleability
|
==== Third-Party Transaction Malleability
|
||||||
|
Loading…
Reference in New Issue
Block a user