mirror of
https://github.com/lnbook/lnbook
synced 2024-11-18 21:28:03 +00:00
parent
4b3fd986c1
commit
4f91a1ea98
@ -345,7 +345,7 @@ After all, that's what commitment transactions are for - they offer a guarantee
|
|||||||
Once you broadcast the last commitment transaction to the Bitcoin network and it is confirmed, it will create two spendable outputs, one for you and one for your partner.
|
Once you broadcast the last commitment transaction to the Bitcoin network and it is confirmed, it will create two spendable outputs, one for you and one for your partner.
|
||||||
As we discussed previously, the Bitcoin network has no way of knowing if this was the most recent commitment transaction or an old one which was published to steal from your partner.
|
As we discussed previously, the Bitcoin network has no way of knowing if this was the most recent commitment transaction or an old one which was published to steal from your partner.
|
||||||
Hence this commitment transaction will give a slight "advantage" to your partner.
|
Hence this commitment transaction will give a slight "advantage" to your partner.
|
||||||
The partner who initiated the force close will their output encumbered by a timelock, and the other partner's output will be spendable immediately.
|
The partner who initiated the force close will have their output encumbered by a timelock, and the other partner's output will be spendable immediately.
|
||||||
In the case that you broadcasted an earlier commitment transaction, the timelock delay gives your partner the opportunity to "dispute" the transaction using the revocation secret and punish you for cheating.
|
In the case that you broadcasted an earlier commitment transaction, the timelock delay gives your partner the opportunity to "dispute" the transaction using the revocation secret and punish you for cheating.
|
||||||
|
|
||||||
When publishing a commitment transaction during a force close, the on-chain fees will be higher than a mutual close for several reasons:
|
When publishing a commitment transaction during a force close, the on-chain fees will be higher than a mutual close for several reasons:
|
||||||
@ -357,7 +357,7 @@ When publishing a commitment transaction during a force close, the on-chain fees
|
|||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
Hash Time-Locked Contracts (HTLCs) will be covered in detail in <<htlcs>>.
|
Hash Time-Locked Contracts (HTLCs) will be covered in detail in <<htlcs>>.
|
||||||
For now, assume that these are payments that are routed across the Ligntning Network, rather than payments made directly between the two channel partners.
|
For now, assume that these are payments that are routed across the Lightning Network, rather than payments made directly between the two channel partners.
|
||||||
These HTLCs are carried as additional outputs in the commitment transactions, thereby increasing the transaction size and on-chain fees.
|
These HTLCs are carried as additional outputs in the commitment transactions, thereby increasing the transaction size and on-chain fees.
|
||||||
====
|
====
|
||||||
|
|
||||||
@ -557,7 +557,7 @@ The onion routing protocol used in Lightning is called the _SPHINX mixformat_ an
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
Lightning's onion routing SPHINX mixformat is only similar to the Tor network routing in concept, but both the protocol and the implementation are entirely different from those use in the Tor network.
|
Lightning's onion routing SPHINX mixformat is only similar to the Tor network routing in concept, but both the protocol and the implementation are entirely different from those used in the Tor network.
|
||||||
====
|
====
|
||||||
|
|
||||||
A payment package used for routing is called an "onion". footnote:[The term "onion" was originally used by the Tor project. Moreover, the Tor network is also called the Onion network and the project uses an onion as its logo. The top level domain name used by Tor services on the internet is ".onion".]
|
A payment package used for routing is called an "onion". footnote:[The term "onion" was originally used by the Tor project. Moreover, the Tor network is also called the Onion network and the project uses an onion as its logo. The top level domain name used by Tor services on the internet is ".onion".]
|
||||||
|
Loading…
Reference in New Issue
Block a user