Bitcoin Forum
May 14, 2024, 06:33:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Earning LN routing fees  (Read 452 times)
CryptoTux (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 26


View Profile
June 14, 2018, 10:43:16 AM
 #1

I've been reading up on the Lightning Network, and I read that you can earn routing fees by having users relay LN transactions through your node. What I'd like to know is this:

  • How can I determine if someone decided to relay through my node? Through incoming connections?
  • Are open channels imperative to earning routing fees? If so, how many are optimal?

I'm aware that I might earn only a handful of satoshi, but I'm interested in new experiences and technologies.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6641


Just writing some code


View Profile WWW
June 14, 2018, 05:35:20 PM
 #2

How can I determine if someone decided to relay through my node? Through incoming connections?
You will see that someone has offered you an HTLC and then you have offered someone else an HTLC.

Are open channels imperative to earning routing fees?
Yes, routing occurs over open channels, you cannot route without multiple open channels.

If so, how many are optimal?
It depends on how many coins you have and how man you are willing to put into each channel.

CryptoTux (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 26


View Profile
June 14, 2018, 09:07:22 PM
 #3

How can I determine if someone decided to relay through my node? Through incoming connections?
You will see that someone has offered you an HTLC and then you have offered someone else an HTLC.

I'm using lnd as my client. What should I look for in my log to determine if such an event has occurred?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6641


Just writing some code


View Profile WWW
June 14, 2018, 09:46:17 PM
 #4

I'm using lnd as my client. What should I look for in my log to determine if such an event has occurred?
I'm not currently running LND, so I'm not sure. However, you should see log lines related to circuits.

CryptoTux (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 26


View Profile
June 14, 2018, 10:17:52 PM
 #5

Closest thing I can find to that has something to do with trimming circuits. Not sure what it means, though.

In any case, thank you for taking the time to answer my questions. I'm sure I'll be able to route my way through the Lightning Network (pardon the pun).
fmirg21
Newbie
*
Offline Offline

Activity: 13
Merit: 5


View Profile
June 15, 2018, 07:40:33 AM
Merited by suchmoon (5)
 #6

I've been reading up on the Lightning Network, and I read that you can earn routing fees by having users relay LN transactions through your node. What I'd like to know is this:

  • How can I determine if someone decided to relay through my node? Through incoming connections?
  • Are open channels imperative to earning routing fees? If so, how many are optimal?

I'm aware that I might earn only a handful of satoshi, but I'm interested in new experiences and technologies.


Just run lncli feereport

If your are not moving the amounts in your channels that should indicate how much you have earned.
But at this time people have channels with subsatoshis or zero fees. I have had my nodes running for 3 months and no one has routed through me (or not that I know of).

If there is a better solution like a line on the logs, please tell me
CryptoTux (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 26


View Profile
June 15, 2018, 09:07:56 AM
 #7

Just run lncli feereport

If your are not moving the amounts in your channels that should indicate how much you have earned.
But at this time people have channels with subsatoshis or zero fees. I have had my nodes running for 3 months and no one has routed through me (or not that I know of).

If there is a better solution like a line on the logs, please tell me
Checked. All my fee sums are zero.

Do you suppose routing fees might increase as larger hubs come into existence? My reasoning is that those who have larger funded channels will be able to service more users, which will lead to them being able to dictate higher routing fees for the sake of convenience (so users don't have to create new channels for larger sums, for instance).
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 15, 2018, 09:30:10 AM
 #8

Do you suppose routing fees might increase as larger hubs come into existence?

Definitely.
The LN is still being tested currently. Once it is fully released and people start using it, there will be routing fees.
Currently it is more like testing how payments in the future will look like  Cool



My reasoning is that those who have larger funded channels will be able to service more users, which will lead to them being able to dictate higher routing fees for the sake of convenience (so users don't have to create new channels for larger sums, for instance).

User can at any time decide to open a new channel with any person.
You do not have to open a direct channel to the person you want to pay or receive from. There just has to exist a route between you and your target (through multiple hops).

CryptoTux (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 26


View Profile
June 15, 2018, 09:50:19 AM
 #9

Definitely.
The LN is still being tested currently. Once it is fully released and people start using it, there will be routing fees.
Currently it is more like testing how payments in the future will look like  Cool
I'll be patient and wait for the Lightning Network to leave beta phase. I think it has some way to go before becoming a user-friendly second-layer solution.
RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 658


rgbkey.github.io/pgp.txt


View Profile WWW
June 17, 2018, 04:20:04 AM
 #10

Definitely.
The LN is still being tested currently. Once it is fully released and people start using it, there will be routing fees.
Currently it is more like testing how payments in the future will look like  Cool
I'll be patient and wait for the Lightning Network to leave beta phase. I think it has some way to go before becoming a user-friendly second-layer solution.

I think it's going to take a lot more time to see people making money off of routing fees than it's going to take to see it being used by people. The usability is more than half there now. But it's still difficult to make money running a node.
buwaytress
Legendary
*
Online Online

Activity: 2800
Merit: 3448


Join the world-leading crypto sportsbook NOW!


View Profile
June 17, 2018, 11:50:50 AM
 #11

Definitely.
The LN is still being tested currently. Once it is fully released and people start using it, there will be routing fees.
Currently it is more like testing how payments in the future will look like  Cool
I'll be patient and wait for the Lightning Network to leave beta phase. I think it has some way to go before becoming a user-friendly second-layer solution.

I think it's going to take a lot more time to see people making money off of routing fees than it's going to take to see it being used by people. The usability is more than half there now. But it's still difficult to make money running a node.

Actually this is probably the first actual question I've seen with interest in making fees from LN, since most users anyway (far as I could tell) were really just interested in using LN. The appeal of low/no fees and instant transacting aside, it's for me also personally useful to open channels with people I frequently transact with, almost as an additional layer of "trust" or familiarity. Definitely don't see how the potential for earning fees would encourage adoption, but I suppose I'm not thinking of business scale.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
June 17, 2018, 04:20:06 PM
 #12

Running nodes isn't free, so i think fees in LN is totally acceptable. But IMO, there should be soft-limit such as less than 1% of transacted amount/less than 100 satoshi and default fees should be set to 0.

Some wallets, for example, Eclair for Android allow you to automatically block your payment if the fee exceeds 3% of the amount you want to pay. It is quite useful but it usually warned me when I was trying to send less than 1 cent worth of Bitcoin (testing Yalls.org). I had to turn it off in the settings in order to send the payment successfully. I wouldn't have such problem if I had opened a channel directly to Yalls. Wallets should be the ones to limit the fee, not the protocol.
RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 658


rgbkey.github.io/pgp.txt


View Profile WWW
June 17, 2018, 04:32:43 PM
 #13

Definitely.
The LN is still being tested currently. Once it is fully released and people start using it, there will be routing fees.
Currently it is more like testing how payments in the future will look like  Cool
I'll be patient and wait for the Lightning Network to leave beta phase. I think it has some way to go before becoming a user-friendly second-layer solution.

I think it's going to take a lot more time to see people making money off of routing fees than it's going to take to see it being used by people. The usability is more than half there now. But it's still difficult to make money running a node.

Actually this is probably the first actual question I've seen with interest in making fees from LN, since most users anyway (far as I could tell) were really just interested in using LN. The appeal of low/no fees and instant transacting aside, it's for me also personally useful to open channels with people I frequently transact with, almost as an additional layer of "trust" or familiarity. Definitely don't see how the potential for earning fees would encourage adoption, but I suppose I'm not thinking of business scale.

I've seen plenty of people wanting to know how they can make money by routing payments. But a lot of them seem to not understand the scale required of both the whole network and the number of channels their node will have to maintain in order to make any amount of money they can recognize
buwaytress
Legendary
*
Online Online

Activity: 2800
Merit: 3448


Join the world-leading crypto sportsbook NOW!


View Profile
June 18, 2018, 08:13:16 AM
 #14

Running nodes isn't free, so i think fees in LN is totally acceptable. But IMO, there should be soft-limit such as less than 1% of transacted amount/less than 100 satoshi and default fees should be set to 0.

Some wallets, for example, Eclair for Android allow you to automatically block your payment if the fee exceeds 3% of the amount you want to pay. It is quite useful but it usually warned me when I was trying to send less than 1 cent worth of Bitcoin (testing Yalls.org). I had to turn it off in the settings in order to send the payment successfully. I wouldn't have such problem if I had opened a channel directly to Yalls. Wallets should be the ones to limit the fee, not the protocol.

Running nodes have never been free, and I'm sure the hundreds of volunteer nodes securing Bitcoin (and hundreds of others securing other alternative blockchains) know this - but incentive mechanisms are already in place... I'm also quite against protocol limiting the fee (yeah, default should be zero), when that function can easily be integrated into wallets. Then again, nature of competition and business efficiency should play all this out naturally. As will the price of Bitcoin, at some point.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
CryptoTux (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 26


View Profile
June 18, 2018, 04:37:37 PM
 #15

Usually competition works to prevent high fees, except when all route available have high fees which sucks. This will be rare case, but i'm sure this might happen when there aren't many routes and all available nodes offer high fees.
I don't like limiting the fees from protocol either, but IMO this might be necessary.
After reading the discussion about limiting fees based on protocol, I'd side with the majority on not doing so and instead rely on a "laissez-faire" approach, if you will, to ensure routing fees reach a state of equilibrium. Most Lightning clients have autorouting, don't they? From what I've gathered, such clients will choose the cheapest route, so any node with excessive fees will be avoided if possible.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
June 18, 2018, 05:55:06 PM
 #16

From what I've gathered, such clients will choose the cheapest route, so any node with excessive fees will be avoided if possible.

Yes, your wallet should choose the cheapest route and as I mentioned earlier, some wallets allow you to limit the transaction fee in order to avoid overpaying. I really doubt that we will ever have a problem with too high Lightning Network transaction fees. If you are going to send your coins to someone often then you should consider opening a channel directly with the other person's node.
fmirg21
Newbie
*
Offline Offline

Activity: 13
Merit: 5


View Profile
June 19, 2018, 03:28:37 PM
 #17

Checked. All my fee sums are zero.

Do you suppose routing fees might increase as larger hubs come into existence? My reasoning is that those who have larger funded channels will be able to service more users, which will lead to them being able to dictate higher routing fees for the sake of convenience (so users don't have to create new channels for larger sums, for instance).

Of course fees will increase but not yet. People is trying to get the most number of nodes connected so when someone new joins the Lightning Network the see oh thats a big node I'll connect to it, and so they will keep growing.

For successfully routing payments, having channels with large amounts will be better but for now the "most" expensive thing you can buy with lightning is blockstream t-shirts so 200k satoshis is already a big channel for now.
andrew1carlssin
Jr. Member
*
Offline Offline

Activity: 168
Merit: 3

#Please, read:Daniel Ellsberg,-The Doomsday *wk


View Profile WWW
July 03, 2018, 01:21:52 PM
 #18

Hello fellows,

I remember once I saw a white paper on routing/scaling LN layer, but I cant locate this document on the web, and also I cant remember the full documents reference (keywords, peer review score, etc)  ... I would like to bring up this topic to netacad (Cisco Academy) forum.

Does any one have any suggestions Huh

I appreciate,
AC--

Satoshi's book editor; SCIpher - https://pdos.csail.mit.edu/archive/scigen/scipher.html
Ucy
Sr. Member
****
Offline Offline

Activity: 2576
Merit: 402


View Profile
July 06, 2018, 11:06:58 AM
 #19

Definitely.
The LN is still being tested currently. Once it is fully released and people start using it, there will be routing fees.
Currently it is more like testing how payments in the future will look like  Cool
I'll be patient and wait for the Lightning Network to leave beta phase. I think it has some way to go before becoming a user-friendly second-layer solution.

I think it's going to take a lot more time to see people making money off of routing fees than it's going to take to see it being used by people. The usability is more than half there now. But it's still difficult to make money running a node.
But it's still difficult to make money running a node.

Hopefully running nodes doesn't continue to be difficult in the future. There must be some sort of incentive to run nodes unless nodes aren't that important for Lightning Network.
We don't need another cartel running Bitcoin.
xTz
Newbie
*
Offline Offline

Activity: 74
Merit: 0


View Profile WWW
July 06, 2018, 09:22:53 PM
 #20

Even without LN adopted the transaction volumes are a joke these days, on LND fees will be like 10 cents/day at these volumes.
I do not see everyone rushing into using lightning nodes, maybe when hypermarkets will accept LND payments for grocery stores, you will have more fees through your node.
But is good to be prepared as a developer from begining, but do not expect to get rich in next 10 years.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!