mirror of
https://github.com/lnbook/lnbook
synced 2024-11-18 21:28:03 +00:00
Merge pull request #115 from bolatovumar/gossip-protocol-capitalization
Replace "Gossip protocol" with "gossip protocol"
This commit is contained in:
commit
53f9bcd77a
@ -46,7 +46,7 @@ The aforementioned innovations are certainly the major breakthrough that lead to
|
|||||||
However the LN is so much more than the cryptographic protocols on top of the Bitcoin scripting language.
|
However the LN is so much more than the cryptographic protocols on top of the Bitcoin scripting language.
|
||||||
It is a full communication protocol which consists of a peer protocol that defines how peers communicate with each other via Lightning messages to achieve the transfer of bitcoin.
|
It is a full communication protocol which consists of a peer protocol that defines how peers communicate with each other via Lightning messages to achieve the transfer of bitcoin.
|
||||||
The communication protocol also defines how Lightning messages are being encrypted and exchanged.
|
The communication protocol also defines how Lightning messages are being encrypted and exchanged.
|
||||||
A Gossip protocol is part of the specification that is used to share public information about the topology of the network with the other participants.
|
A gossip protocol is part of the specification that is used to share public information about the topology of the network with the other participants.
|
||||||
This information is needed for Alice to be aware of the fact that Mallory has a channel with Bob so that she can decide to send a payment via Mallory to Bob.
|
This information is needed for Alice to be aware of the fact that Mallory has a channel with Bob so that she can decide to send a payment via Mallory to Bob.
|
||||||
|
|
||||||
Last but not least it is important to understand that the LN is nothing else than Bitcoin.
|
Last but not least it is important to understand that the LN is nothing else than Bitcoin.
|
||||||
@ -210,16 +210,16 @@ Still managing the revocation secrets is one of the more tricky parts of Lightni
|
|||||||
Watchtower services or switching to the aforementioned eltoo channels might be future strategies to mitigate these problems.
|
Watchtower services or switching to the aforementioned eltoo channels might be future strategies to mitigate these problems.
|
||||||
|
|
||||||
==== Announcing the channel
|
==== Announcing the channel
|
||||||
Channel partners can agree to publicly announce the channel over the Gossip protocol that comes with the Lightning Network.
|
Channel partners can agree to publicly announce the channel over the gossip protocol that comes with the Lightning Network.
|
||||||
This is useful as other nodes will then be able to utilize this channel to route payments to other participants of the network.
|
This is useful as other nodes will then be able to utilize this channel to route payments to other participants of the network.
|
||||||
Note that even for private channels which are not announced over the Gossip protocol, the funding transaction is always publicly stored in the Bitcoin blockchain.
|
Note that even for private channels which are not announced over the gossip protocol, the funding transaction is always publicly stored in the Bitcoin blockchain.
|
||||||
However as it is just a regular transaction to a 2-2 multisignature address, participants of the Bitcoin Network do not know if this particular transaction is used to maintain a payment channel.
|
However as it is just a regular transaction to a 2-2 multisignature address, participants of the Bitcoin Network do not know if this particular transaction is used to maintain a payment channel.
|
||||||
If a channel and its capacity is publicly announced on the Gossip protocol, the channel partners will also be able to announce some meta data about the channel.
|
If a channel and its capacity is publicly announced on the gossip protocol, the channel partners will also be able to announce some meta data about the channel.
|
||||||
This meta data includes the routing fees a node charges to forward payments on that channel, information about what kind and how many Hash Time-Locked Contracts (HTLCs) will be accepted.
|
This meta data includes the routing fees a node charges to forward payments on that channel, information about what kind and how many Hash Time-Locked Contracts (HTLCs) will be accepted.
|
||||||
As we have not discussed HTLCs yet we will just mention that they are additional conditional outputs in the commitment transactions used for routing payments and for updating the channel balance.
|
As we have not discussed HTLCs yet we will just mention that they are additional conditional outputs in the commitment transactions used for routing payments and for updating the channel balance.
|
||||||
We will later investigate HTLCs in more detail.
|
We will later investigate HTLCs in more detail.
|
||||||
When new participants join the Lightning Network they will be able to download the information propagated via the Gossip protocol from their peers.
|
When new participants join the Lightning Network they will be able to download the information propagated via the gossip protocol from their peers.
|
||||||
Peers can only omit messages but as every message is signed by the node that originally sent out the message the information on the Gossip protocol cannot be modified to trick other participants.
|
Peers can only omit messages but as every message is signed by the node that originally sent out the message the information on the gossip protocol cannot be modified to trick other participants.
|
||||||
|
|
||||||
==== Closing the channel
|
==== Closing the channel
|
||||||
The main goal of people using the Lightning Network is to keep their channels open as long as possible.
|
The main goal of people using the Lightning Network is to keep their channels open as long as possible.
|
||||||
|
Loading…
Reference in New Issue
Block a user