|
|
|
@ -360,7 +360,7 @@ working on BIPs that may be available after this book goes((("Bitcoin", "as appl
|
|
|
|
|
[[state_channels]]
|
|
|
|
|
=== Payment Channels and State Channels
|
|
|
|
|
|
|
|
|
|
_Payment channels_ are a trustless mechanism for exchanging Bitcoin
|
|
|
|
|
_Payment channels_ are ((("Bitcoin", "as application platform", "payment channels", secondary-sortas="application platform", id="bitcoin-app-platform-payment")))((("application platform, Bitcoin as", "payment channels", id="app-platform-payment")))((("payment channels", id="payment-channel")))a trustless mechanism for exchanging Bitcoin
|
|
|
|
|
transactions between two parties, outside of the Bitcoin blockchain.
|
|
|
|
|
These transactions, which would be valid if settled on the Bitcoin
|
|
|
|
|
blockchain, are held offchain instead, waiting for
|
|
|
|
@ -966,7 +966,7 @@ redeemed by _anyone_ who has the secret +R+. An HTLC can take many
|
|
|
|
|
different forms with slight variations to the script. For example,
|
|
|
|
|
adding a +CHECKSIG+ operator and a public key in the first clause
|
|
|
|
|
restricts redemption of the hash to a particular recipient, who must also
|
|
|
|
|
know the secret +R+.
|
|
|
|
|
know the((("Bitcoin", "as application platform", "payment channels", secondary-sortas="application platform", startref="bitcoin-app-platform-payment")))((("application platform, Bitcoin as", "payment channels", startref="app-platform-payment")))((("payment channels", startref="payment-channel"))) secret +R+.
|
|
|
|
|
|
|
|
|
|
[[lightning_network]]
|
|
|
|
|
=== Routed Payment Channels (Lightning Network)
|
|
|
|
|