Ethereum: How is a node in the middle prohibited from keeping the money in a routed Payment in Lightning network?

I can be an article on Ethereum, but I can create a fictional on the subject. Here it is:

Name: How is it forbidden to pay payments in the Lightning Network in the middle?

Introduction:

The lightning network, which is a decentralized fast and cheap payment transaction infrastructure, is based on nodes to facilitate the routing of payment between users. However, there is a decisive restriction that prohibits the maintenance of payments in the middle of the nodes if it is not connected to the network. In this article, we will go into lightning network mechanics and explore why this limit exists.

Lightning Network Basics:

Ethereum: How is a node in the middle prohibited from keeping the money in a routed Payment in Lightning network?

The lightning network is a peer -to -peer network that allows users to send payments from each other without the need for a central authority or intermediary. It works by creating a “channel” between the two nodes, which allows you to safely transfer the funds in both directions. Each channel consists of several “slots” where payments are made and settled.

Node role:

The knot in the lightning network plays a critical role in facilitating payment routing. Its main function is to receive incoming payments from users and check their authenticity before transferring them to other network nodes.

How knots save:

The nodes continue to pay by checking the sender’s identity, confirming transactions in the chain (i.e. using smart contracts) and ensuring that the funds are not for malicious purposes. Once the node has checked the payment, it adds the transaction to the local ledger and transmits it to other network nodes.

Why knots can’t keep payment without connection:

Now let’s turn to the question of why the nodes cannot pay unless the lightning network is connected. The reason is that if the node would overestimate and transfer payments from one user without applying to the network, this is essentially related to the role of a mediator among users.

Onion routing limit:

To prevent this, the lightning network rely on the onion routing – a technique developed by the Bitcoin community. Onion routing allows nodes to route payments using multiple relays (hence the name “onion”), making it difficult for the knot to track the flow of funds without included in the network.

Here’s how it works: When the user proposes a payment using their lightning purse, the wallet generates the onion address. This address is then transmitted to other network nodes that use the onion routing to drive through multiple relays before finally reaching its destination.

Conclusion:

In summary, lightning network nodes are prohibited from paying payments if they are not connected to the network, as the onion routing restrictions and the need for nodes to be part of a decentralized network. With this technology, the lightning network provides quick and secure payment transactions between users, while ensuring that the transactions are transparent and safe.

Additional reading:

  • Lightning Network team “Lightning Network Whitepaper”

  • Bitcoin Stack Development Foundation “Onion Routing Bitcoin” Bitcoin “

Note: The above article is invented and only for illustrative purposes.

Ethereum Bitcoin Trust


评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注