Hi, @swisscrypto.
That was a good question, I don’t think I’ve thought of it before.
-
Have you searched for it online yet?
-
What are your thoughts about it? Is it considered or not?
Ivo
Hi, @swisscrypto.
That was a good question, I don’t think I’ve thought of it before.
Have you searched for it online yet?
What are your thoughts about it? Is it considered or not?
Ivo
@ivga80 I did a quick search online, and it appears that if someone wants to use his/her channels to be routing channels, it is better that he/she advertise them.
If he/she wants to keep them private, for instance to send a payment to a peer, or uses a light device such as a phone or a laptop without running a full node (again just to pay or receive sats/bitcoins with Lightning), he/she can keep it non-advertised.
I think the idea is to avoid clogging up the network with advertised channels that don’t serve as routing channels. But technically, I guess one can have opened channels that are not used for routing (yet) and advertise them (on 1ml.com for example).
Nice, answer…
1. How many times can you refill your LN channel?
As many as you want.
2. What’s the difference between Advertised and non-advertised channels?
Advertised channels are available for routing and are visible on the network graph (between “Routing nodes”). Advertised channels are used for routing of non-advertised channels which are used by the “end users” by default.
3. How does Buffer capital work?
“Buffer capital” is the total fund in a Lightning node that required for maintaining the inflow and outflow of payments. Lighting nodes should provide enough buffer capital to avoid channel exhaustion and routing failures.
4.What is onion routing?
Routing data through layers - intermediate nodes only know the identity of its immediate predecessor and successor in the route.
2.Advertised channel are visible and public to the network whilst Non-advertised channels are not always visible (these ones are usually used in laptops , phones , tables because they not always online).
3.Buffer capital is a certain amount of funds needed to make sure that the nodes are balanced enough to not to let the communication fail. (balanced in both sides)
4.Onion routing is a specific routing where it adds a significant layer of privacy on top of the channel. Nodes would only know identities of previous and next node.
1. How many times can you refill your LN channel?
Practically unlimited as long the channel kept with some funds so it will never get closed.
2. What’s the difference between Advertised and non-advertised channels?
From my perspective, Advertised channel are those that are a lightning node that can be used has a payment route for other participants.
While a non-advertised channel are the end users that requires a lightning node to establish a payment route with other participants.
Kinda like SPV’s and Nodes right?
3. How does Buffer capital work?
Its a minimum fund that a channel should lock (maintain) in order to not get closed in the overall flow of the network, by doing this practice, they avoid a channel exhaustion and routing failures.
4. What is onion routing?
A method to keep the privacy and censorship-resistance along the payment multi-hop path.
When a payment is send from a channel that has not opened a channel with the receiver, it will use other users channels to establish the most short path to route that payment, but in order to keep the privacy of those “routing participants” the “onion routing” allows them to not expose themselves in the process, allowing them a censorship-resistance over the network.
Meaning, the data over the payment process will only show the identity of the last participant and the last receiver, but not the entire path that has been toked.
As many time you want.
Advertised channels are routing channels thats is always running to be chosen as a route to process a payment.
Non-advertised channels are smaller devices like phones and desktops from end users.
Routing nodes will aggregate inflows and outflows across many users so that overall flows to and from a routing node will be somewhat balanced.
Routing data through layers, the node only knows where the transaction came from.
Unlimited refills, as long as funds are available
Advertised channels will be visible in the lightning network and non-advertised channels will not be visible
Buffer capital works where by routing nodes supplies flow of funds to handle periods of imbalance in the Lightning network
Onion routing is for multi-hop payments where intermediate nodes in the payment path know only the identity of their immediate predecessor and successor in the route on the Lightning network
A channel can be refilled as many times as a user wants. It works like a bank account or a prepaid card. Why should there be a refill limit?
The majority of lightning nodes (e.g. smartphones, user’s PCs) with an intermittent internet connection aren’t suitable for routing, in fact they are not visible in the lightning graph. These channels can still be used thanks to some routing “hints”. Even if not advertized, these nodes will probably be the ones used most, because they are the majority.
Advertized ones, are channels that want to be used for routing and earn fees.
In order for transactions to be routed through a channel, the channel must have enough capital to fulfill the requested amount. E.g. if Alice wants to send to Bob 0.1 BTC and the payment has to be routed trough Charly, Charly must have at least 0.1 BTC in the channel available to route the request.
For multi-hope payments (where the payments must go through different channels to reach the destination) intermediate nodes in the payment path know only the identity of their immediate predecessor and successor in the route.
Refills are unlimited.
Advertised channels are available for routing and are visible in the network graph. Non advertised channels are not available for routing and are only accessible through the use of extra routing information.
Routing nodes must provide sufficient capital to handle imbalances of inflows vs outflows. Insufficient buffer capital leads to periods of channel exhaustion and routing failures.
Using onion routing for multi-hop payments provides added anonymity because intermediate nodes know only the identity of the predecessor node and the successor node.
How many times can you refill your LN channel?
As many times as you wish, there is no limit - in this way channels may be kept open for long periods of time (even years) to avoid repeated Bitcoin on-chain transaction fee each time an existing LN channel is closed and reopened.
What’s the difference between Advertised and non-advertised channels?
Non-advertised nodes will generally be user nodes (running on a smartphone, laptops etc). These nodes & channels will not be available for routing, not being publicly announced (or advertised) to the network and hence won’t appear in node/channel maps of the LN network. Whilst advertised nodes / channels are publicly visible and hence these public channels are directly available for payment routing.
Non-advertised private nodes/channels are likely to form the majority of the network, and via extra routing information (“routing hints”) embedded in LN payment requests they will be accessible. In this way LN payments may be sent using a combination of hops over public (advertised) and non-public (non-advertised) channels.
How does Buffer capital work?
Each node must provide ‘buffer capital’ for the channels it has open. Buffer capital is reduced when transactions flow one way through the channel (outflows with Txs being sent) and increased when Txs flow the other way (inflows with Txs being received). Nodes that experience a predominance of transactions flowing in one direction will start to experience an imbalance in the buffer capital maintained and if a particular node’s channel buffer capital falls too low then the network will no longer be able to route transactions through this channel (i.e. if Tx value is to be potentially routed through a node is higher than remaining buffer capital for that node’s channel - which is called ‘channel exhaustion’). To avoid channel transaction failures, the node would have to add additional capital to the node’s channel buffer capital.
What is onion routing?
This is where that any node along the route will only know the identity of the immediately preceding node (who sent the transaction) and the next node (to whom the transaction is sent onto). This is important as together with ‘source routing’ (where the sender constructs the routing path) this gives privacy to the senders and receivers of transactions and hence increases censorship-resistance.
Excellent answer sir! really well documented! keep it like that please!
Carlos Z.
You can refill the channel as often and with as much money as you want
Advertised channel are used for routing which means they are propagating payments through the network and are visible in the network graph. Non-advertised channels can be seen as “endpoints” which do not propagate transactions and only “receive” money instead of “sending and receiving” payments. Non-advertised channels are mostly end user nodes (laptops, smarthpone) which are accessible through extra routing information.
In order to run a “healthy” node which means your node must have enough balance, your node must have enough buffer capital so that in cases of heavy payments in one direction (more sending than receiving) the node is not running “out of money”. When your node has not enough buffer capital and gets out of balance during some time the routing will failure because it is not capable of propagate payments in the network anymore. This could lead to disconnecting of nodes from your node.
Lightnight is supporting onion routing which means that nodes only know the identity of the node where the payment is coming from and the node to which the payment is going to. This provides enhanced user privacy.