Fix chopped off sentence
This commit is contained in:
parent
0997405609
commit
ede233da0e
Binary file not shown.
@ -74,15 +74,14 @@ on-chain funding transaction of the channel $\langle$TX\_IN\_EX1\_HASH$\rangle$.
|
|||||||
This funding transaction locks some money in a Multisig address of Alice and
|
This funding transaction locks some money in a Multisig address of Alice and
|
||||||
Bob. They have used this channel for a while now and wish to close it. In the
|
Bob. They have used this channel for a while now and wish to close it. In the
|
||||||
final state of the channel, Alice has a balance of 1000 satoshis and Bob has
|
final state of the channel, Alice has a balance of 1000 satoshis and Bob has
|
||||||
2000 satoshis. %Note that Bob cannot spend his funds right away, but needs to
|
2000 satoshis. Only after some time, Bob can claim his balance. Since they both
|
||||||
wait for some time. Only after some time, Bob can claim his balance. Since they
|
cooperatively wish to close the channel, they create a new transaction that does
|
||||||
both cooperatively wish to close the channel, they create a new transaction that
|
not have any timelock or revocation mechanism, but simply takes the Multisig
|
||||||
does not have any timelock or revocation mechanism, but simply takes the
|
from the funding as input and creates two outputs, one for Alice and one for
|
||||||
Multisig from the funding as input and creates two outputs, one for Alice and
|
Bob. You need to create the transaction of the final state of Bob, sign it and
|
||||||
one for Bob. You need to create the transaction of the final state of Bob, sign
|
post it on the Bitcoin testnet. \textbf{This exercise is considered solved if
|
||||||
it and post it on the Bitcoin testnet. \textbf{This exercise is considered
|
your UTXO for exercise A is spent in a transaction with two outputs, Alice
|
||||||
solved if your UTXO for exercise A is spent in a transaction with two outputs,
|
owning 1000 and Bob 2000 satoshis, both as P2PKH (see
|
||||||
Alice owning 1000 and Bob 2000 satoshis, both as P2PKH (see
|
|
||||||
\url{https://learnmeabitcoin.com/technical/p2pkh}).} In other words, this means
|
\url{https://learnmeabitcoin.com/technical/p2pkh}).} In other words, this means
|
||||||
that, e.g., for Alice, 1000 satoshis need to be locked in the following script:
|
that, e.g., for Alice, 1000 satoshis need to be locked in the following script:
|
||||||
\texttt{OP\_DUP OP\_HASH160 <Alice\_pubKeyHash> OP\_EQUALVERIFY OP\_CHECKSIG}.
|
\texttt{OP\_DUP OP\_HASH160 <Alice\_pubKeyHash> OP\_EQUALVERIFY OP\_CHECKSIG}.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user