Pages:
Author

Topic: The Lightning Network node experience (Read 3378 times)

legendary
Activity: 3444
Merit: 6182
Crypto Swap Exchange
Kind of a necro bump but wondering if anyone else running a node is getting 1 sat transactions with messages attached to them?
Yes, it's due to Satogram, a kind-of ad broadcaster that reaches nearly the entire lightning network.

Or am I missing something else as to how people are doing it?
They don't need an invoice to send you satoshi. Anyone can send you satoshi over lightning by just having your node ID and keysend. If you're running LND, you can disable receiving that way with "accept-amp=false".

I wouldn't do it, if I were you. Just like email spam, but you're getting paid.  Wink

I *thought* "accept-amp=false" was the default. Which was why I figured it came from the invoice.

From: https://docs.lightning.engineering/lightning-network-tools/lnd/optimal-configuration-of-a-routing-node

Quote
Communication

Node runners may notify each other of issues they see when opening channels or forwarding payments. To be able to receive keysend messages, the following must be set.

accept-keysend=true # (default: false)
accept-amp=true # (default: false)

I do not have an easy way to dig into that node at the moment.
Will have to check when I get home.

Not a big deal, but that was why I was running with the invoice theory.

-Dave

legendary
Activity: 1344
Merit: 6415
Farewell, Leo
Kind of a necro bump but wondering if anyone else running a node is getting 1 sat transactions with messages attached to them?
Yes, it's due to Satogram, a kind-of ad broadcaster that reaches nearly the entire lightning network.

Or am I missing something else as to how people are doing it?
They don't need an invoice to send you satoshi. Anyone can send you satoshi over lightning by just having your node ID and keysend. If you're running LND, you can disable receiving that way with "accept-amp=false".

I wouldn't do it, if I were you. Just like email spam, but you're getting paid.  Wink
legendary
Activity: 3444
Merit: 6182
Crypto Swap Exchange
Kind of a necro bump but wondering if anyone else running a node is getting 1 sat transactions with messages attached to them?









I am guessing they are scraping websites and looking for payment requests because it started when I posted this about 1 month ago in another thread:



...

This is a repayment for 0 sats TO ME you should be able to add whatever amount you want:



If you can't scan the QR:

Code:
lnbc1pj7a6s4pp5s9yuq6tz05324wha0lnx8rn8hx3kk7gdxafmvv73ctc2al8xjjxqdqv23jhxapqxysqcqzzsxqyjw5qsp5gnqsgxpkqqwkl4mgtkvj3qjxyujlfs8aysz23dgsdypjnjza7srs9qyyssq7acrduv9duynhahph2k3cremcjrucf6mr7mkq4p9m7hjpcnfwavs4l59g09rjz778s2f04lcwknq6h9mp8fzs5fnv8fvye4jwmcrdcspl9cl7f

This is a repayment of 200 sats:




Code:
lnbc2u1pj7a6kcpp5qyl3gm9fnfqj4wuc2ep09u7v32af9vw32k9z0vsgyrr8nreyq4sqdquxgcrqgzng92zq5n9wpshjmt9de6qcqzzsxqyjw5qsp5gp5fhuexjgusvjyf792pewzkv8hyf907wfek4kpt3p9xza9mqh8q9qyyssqmdhmvttgzkjkdxjwa6kr7kfmce7c54f9x7ps0lvpx2ewljzc4g0r3us03srv02nmamxuzr0ytvqep5d8fudj85swfue8lzhvry5d2jqq9pu3nh
...



Or am I missing something else as to how people are doing it?

-Dave
legendary
Activity: 1610
Merit: 4442
**In BTC since 2013**
October 09, 2023, 04:49:04 PM
From a quick look at the project website, it seemed to me that they don't have any version for Windows. Or am I mistaken?
Yes, it is compiled in Linux. So, get yourself a WSL if your machine runs on Windows: https://learn.microsoft.com/en-us/windows/wsl/install. I don't believe there's any way to run that software in Windows elsewhere, probably only with lightning Electrum?

I want to try to avoid using this solution. I'll try to look for something that works on Windows. There must be something.
In fact, I already did some brief research, and it seemed to me that there was something.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
October 09, 2023, 02:27:46 PM
From a quick look at the project website, it seemed to me that they don't have any version for Windows. Or am I mistaken?
Yes, it is compiled in Linux. So, get yourself a WSL if your machine runs on Windows: https://learn.microsoft.com/en-us/windows/wsl/install. I don't believe there's any way to run that software in Windows elsewhere, probably only with lightning Electrum?

A Lightning node is a hot wallet. I don't think it's the wisest decission to run it on Windows, a platform that is likely the main target for all sorts of malware, mainly due to its large user base and market share.
Linux is pretty much everywhere nowadays, so that isn't the reason. Windows are just known to suffer from more vulnerabilities than Linux, probably because they are closed-source since their launch.
legendary
Activity: 1610
Merit: 4442
**In BTC since 2013**
October 08, 2023, 06:54:45 PM
...

From a quick look at the project website, it seemed to me that they don't have any version for Windows. Or am I mistaken?

Your citation from darkv0rt3x speaks of multiple software: CLN, RTL and LND. To which of those three are you asking for a Windows version?


I was thinking about CLN.
But, I will analyze the other options, which have a Windows version. If there isn't, no problem...
hero member
Activity: 714
Merit: 1010
Crypto Swap Exchange
October 08, 2023, 01:18:07 PM
...

From a quick look at the project website, it seemed to me that they don't have any version for Windows. Or am I mistaken?

Your citation from darkv0rt3x speaks of multiple software: CLN, RTL and LND. To which of those three are you asking for a Windows version?

A Lightning node is a hot wallet. I don't think it's the wisest decission to run it on Windows, a platform that is likely the main target for all sorts of malware, mainly due to its large user base and market share.

Maybe you didn't mean the Lightning node, we can't know, you weren't specific enough.
legendary
Activity: 1610
Merit: 4442
**In BTC since 2013**
October 07, 2023, 05:54:50 PM
I am running Core Lightning implementation of the Lightning Network and those pictures are from a fron-end for the node which is called RTL or Ride The Lightning.
I never tried LND which is another LN implementation and I don't want. I'm very happy with Core Lightning aka CLN.

From a quick look at the project website, it seemed to me that they don't have any version for Windows. Or am I mistaken?
hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
October 07, 2023, 02:28:30 PM
Another month, another improvement. But I also paid quite a few sats in rebalancing. Probably it was almost the same as I got from forwarding payments! Never tracked how much I spent in fees for rebalancing channels!

What program are you using to do this monitoring?
Or better yet, what program are you using to run the LN node?

I am running Core Lightning implementation of the Lightning Network and those pictures are from a fron-end for the node which is called RTL or Ride The Lightning.
I never tried LND which is another LN implementation and I don't want. I'm very happy with Core Lightning aka CLN.
legendary
Activity: 1610
Merit: 4442
**In BTC since 2013**
October 07, 2023, 01:00:40 PM
Another month, another improvement. But I also paid quite a few sats in rebalancing. Probably it was almost the same as I got from forwarding payments! Never tracked how much I spent in fees for rebalancing channels!

What program are you using to do this monitoring?
Or better yet, what program are you using to run the LN node?
newbie
Activity: 4
Merit: 2
October 07, 2023, 11:27:12 AM
Another month, another improvement. But I also paid quite a few sats in rebalancing. Probably it was almost the same as I got from forwarding payments! Never tracked how much I spent in fees for rebalancing channels!

https://talkimg.com/images/2023/10/06/PlwK9.png

Congratulations.. rebalancing is costly. Channels should be chosen so that manual rebalancing isn't necessary and balancing happens naturall but it's possible that it's required to have multiple larger channels to achieve that
hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
October 06, 2023, 06:19:39 AM
Another month, another improvement. But I also paid quite a few sats in rebalancing. Probably it was almost the same as I got from forwarding payments! Never tracked how much I spent in fees for rebalancing channels!

hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
September 09, 2023, 05:53:23 PM
Once more I'm showing my results for the last few months.

For July, I had a special situation and I didn't forward a single payment. This situation still remains but with a few changes. The situation is that my node shouldd probably be in some "dark place" of the LN graph and therefore, I only have one channel that is taking payments "in". If it happens that this channel gets all liquidity on my side, I cannot get any payments coming "in". That was what happened in July. I made an experience of not rebalancing this channel and tried to lower the fees in all other channels to see if the liquidity would change sides globally in my channels. It simply didn't happened. Maybe I should have lowered even more the fees.

Anyway, in August I end up rebalancing this channel and one other "major" event took place. The node operator of this channel, started a second LN node and we opened another channel. Now, we can rebalance our 2 channels for free and not only I was able to circulate some sats in oppsite directions between these 2 channels, meaning that some "auto-rebalance" took place. Good news... Smiley  Cheesy Cheesy

Here are my earning for August. July is not here because, as I said, there were no routings at all.
hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
July 02, 2023, 06:09:28 PM
This month was quite active for my node. 33 events made it one of the best months or maybe the best month since I run the node. However, I have the feeling that most of the routed payments were also rebalances as response to my own rebalances, if I make myself understand.

I mean, it happened over and onver again that after I perform a rebalance, in the next day or so, all the amount used in that rebalance was already in other side of the same or eventually other channels!
I did quite a few rebalances and it always happened, so I gave up and decided to change some fees in some of my channels to try to make outgoing channels, incoming, and vice-versa!

hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
June 23, 2023, 04:33:32 AM

There are two settings for fees: a base fee and a relative fee. Relative relates to the transaction amount, though and not to the mempool. Most payments cost about a handful of sats for the whole route, though.

Once more, you can only cash out Bitcoin back to fiat of online transactions. A channel open must be closed so that you can cash out the Bitcoin once locked in that channel!
That's not really true; you can use a Lightning to fiat exchange like [Review] Robosats Bitcoin Lightning on-/off-ramp (no KYC, P2P, Tor) or if you prefer centralized ones, Kraken and others nowadays offer Lightning deposits, too.

Oh yes... I forgot those because I was thinking only in the point of view of a node operator! But yes, you are absolutely right. Sorry for missing those options that are the closest to pure p2p bitcoin trading in the sense of buying and selling anonymously!
full member
Activity: 1092
Merit: 227
June 23, 2023, 03:18:55 AM
One point I read about hot wallet and how it could get buggy and funds may get stolen, do I need to have antivirus software or something which can block such external access or it's just nothing about that?
You don't really need to worry about that, especially if you follow my guide and run all that software on a fresh, up-to-date Linux system and don't do other things on it (especially risky stuff like plugging in random USB drives found on the street or downloading pirated files).

In your full node thread you have mentioned about 4 different software that is Bitcoin Core, ElectRS, C-lightening, Ride the lightening. Putting yourself at my position and thinking I am completely stranger to the set up, which one would you chose to get started with? [ in terms of complexity of set up]
Those are basically all needed. Just install one-by-one following the guide from top to bottom. If you have more questions about it, feel free to post them over there. In case you think they are specific just to your setup / situation, you can also write me direct messages.

Great to know that. I am definitlly going to end up in lot of discussion. I already saw that thread and the codes you guys have posted went like tangent over my head.  Grin
But why not try it out and see how it goes.

And no I am not even plugging any random USB so far on my regular laptop so I am pretty sure that we are good on that front and I don't end up injecting virus over the entire LN chain.  Tongue

Lot of homework to be done on single and dual funded channels, splicing and channel factories.  Yes I think I will have lot of discussion with you once I get started for real. Thanks mate. Shocked

hero member
Activity: 882
Merit: 5811
not your keys, not your coins!
June 22, 2023, 04:25:50 PM
One point I read about hot wallet and how it could get buggy and funds may get stolen, do I need to have antivirus software or something which can block such external access or it's just nothing about that?
You don't really need to worry about that, especially if you follow my guide and run all that software on a fresh, up-to-date Linux system and don't do other things on it (especially risky stuff like plugging in random USB drives found on the street or downloading pirated files).

In your full node thread you have mentioned about 4 different software that is Bitcoin Core, ElectRS, C-lightening, Ride the lightening. Putting yourself at my position and thinking I am completely stranger to the set up, which one would you chose to get started with? [ in terms of complexity of set up]
Those are basically all needed. Just install one-by-one following the guide from top to bottom. If you have more questions about it, feel free to post them over there. In case you think they are specific just to your setup / situation, you can also write me direct messages.

To be able to send BTC through Lightning to another user, without opening a direct channel to them, you need to utilize routing.
'Routing' in this context means that a Lightning node operator receives a payment from your node through one channel and simultaneously sends a payment of the same amount out through a different channel. Chain that as many times as required until the intended receiver got the money and you've got a Lightning payment.

Since we provide a service which requires an always running computer and funds stored in channels (hot wallets), we have costs and provide value; therefore we can choose to ask users for fees in return for routing their payments. Their wallet can / should try to find the cheapest routes, but usually you do need to pay a few sats per payment to reach a 'far' (many hops) destination.
Can you "cash out" bitcoins received via Lighting Network without closing the channel?
No. All Bitcoin locked in LN can only be transacted offchain using the channel balance. The only way to cash out is to close the channel.
There is one exception, namely submarine swaps. The high-level idea is that you send Bitcoin in the LN to someone who then sends you the same amount (minus a small fee for providing this service) on-chain. The beauty in the implementation of this is that the two payments are 'linked' by design, i.e. one cannot take place without the other one taking place. Neither party can 'take the other party's money and run'.

Btw how much do you charge? Do you have a certain ratio, like, charge 1/10 of mempool fees?
There are two settings for fees: a base fee and a relative fee. Relative relates to the transaction amount, though and not to the mempool. Most payments cost about a handful of sats for the whole route, though.

Once more, you can only cash out Bitcoin back to fiat of online transactions. A channel open must be closed so that you can cash out the Bitcoin once locked in that channel!
That's not really true; you can use a Lightning to fiat exchange like [Review] Robosats Bitcoin Lightning on-/off-ramp (no KYC, P2P, Tor) or if you prefer centralized ones, Kraken and others nowadays offer Lightning deposits, too.
hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
June 22, 2023, 04:19:56 PM
LN channels can be open as long as the 2 peers want. This is the short answer.
Channels don't close on their own unless one or two very specific scenarios. Force closes / unilateral closes or a situation where a peer tries to cheat the other. Can't remember other situations where you can get channels closed without you requesting so.
I don't understand this well:
Quote
To be able to send BTC through Lightning to another user, without opening a direct channel to them, you need to utilize routing.
'Routing' in this context means that a Lightning node operator receives a payment from your node through one channel and simultaneously sends a payment of the same amount out through a different channel. Chain that as many times as required until the intended receiver got the money and you've got a Lightning payment.
So, I can make LN payments without opening a channel for each person I want to pay if utilize channel routing, right? So, is this like, one person opens a channel with some funds and lets other people to use his channel for payments? Do I understand correctly? If that's right, then do I have to wait for that person to close LN channel to cash out my coins (convert into fiat or use as I wish).



I didn't understand what you didn't understand.

Regarding making payments without opening channels to every peer you need to pay, yes. You can use 3rd party services, wallets in this case an use their nodes and the nodes in the network to make your payments to get to their destinations.

Yes, node's operators let other people use teir channels to route payments until their destinations.
So, if you use a LN wallet and receive a payment of let's say 500k sats in that wallet, that wallet must support the conversion of those 500k sats offchain to 500k sats (less fees) to onchain. And then, yes, you can cash out to fiat using other means such as exchanges!

But I have the feeling you are not doing any research on your own. Also, this thread should not be used to discuss LN details. It should be used for users to share their experiences regarding fees collected and other experiences.You have this thread that you can read and learn a lot from it:
https://bitcointalksearch.org/topic/the-lightning-network-faq-5158920

Maybe some mod could move these last posts into that thread!
hero member
Activity: 784
Merit: 733
Watch Bitcoin Documentary - https://t.ly/v0Nim
June 22, 2023, 03:52:36 PM
LN channels can be open as long as the 2 peers want. This is the short answer.
Channels don't close on their own unless one or two very specific scenarios. Force closes / unilateral closes or a situation where a peer tries to cheat the other. Can't remember other situations where you can get channels closed without you requesting so.
I don't understand this well:
Quote
To be able to send BTC through Lightning to another user, without opening a direct channel to them, you need to utilize routing.
'Routing' in this context means that a Lightning node operator receives a payment from your node through one channel and simultaneously sends a payment of the same amount out through a different channel. Chain that as many times as required until the intended receiver got the money and you've got a Lightning payment.
So, I can make LN payments without opening a channel for each person I want to pay if utilize channel routing, right? So, is this like, one person opens a channel with some funds and lets other people to use his channel for payments? Do I understand correctly? If that's right, then do I have to wait for that person to close LN channel to cash out my coins (convert into fiat or use as I wish).

hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
June 22, 2023, 03:00:35 PM
To be able to send BTC through Lightning to another user, without opening a direct channel to them, you need to utilize routing.
'Routing' in this context means that a Lightning node operator receives a payment from your node through one channel and simultaneously sends a payment of the same amount out through a different channel. Chain that as many times as required until the intended receiver got the money and you've got a Lightning payment.

Since we provide a service which requires an always running computer and funds stored in channels (hot wallets), we have costs and provide value; therefore we can choose to ask users for fees in return for routing their payments. Their wallet can / should try to find the cheapest routes, but usually you do need to pay a few sats per payment to reach a 'far' (many hops) destination.
Can you "cash out" bitcoins received via Lighting Network without closing the channel?

No. All Bitcoin locked in LN can only be transacted offchain using the channel balance. The only way to cash out is to close the channel. This is because there are only 2 transactions hitting the blockchain. The one used to open the channel and the one used to close the channel. All intermediary transactions will happen inside the channel without ever touching the blockchain.

By cash out, I understand to convert Bitcoin back to fiat!

To be able to send BTC through Lightning to another user, without opening a direct channel to them, you need to utilize routing.
'Routing' in this context means that a Lightning node operator receives a payment from your node through one channel and simultaneously sends a payment of the same amount out through a different channel. Chain that as many times as required until the intended receiver got the money and you've got a Lightning payment.

Since we provide a service which requires an always running computer and funds stored in channels (hot wallets), we have costs and provide value; therefore we can choose to ask users for fees in return for routing their payments. Their wallet can / should try to find the cheapest routes, but usually you do need to pay a few sats per payment to reach a 'far' (many hops) destination.
How long can you leave the LN channel open? As far as I know, when you use LN, you only pay traditional mempool fees when you close the channel and I was wondering, what if I don't close the channel (Will it close automatically?), will I still be able to cash out my coins?
Btw how much do you charge? Do you have a certain ratio, like, charge 1/10 of mempool fees?

LN channels can be open as long as the 2 peers want. This is the short answer.
Channels don't close on their own unless one or two very specific scenarios. Force closes / unilateral closes or a situation where a peer tries to cheat the other. Can't remember other situations where you can get channels closed without you requesting so.

About the fees:
You have 2 scenarios: onchain (Bitcoin transactions) and offchain (LN transactions).
Regarding fees, you also have 2 scenarios: onchain fees or network fees and offline fees or routing fees or payment fees or whatever you want to call it.
Online fees depends on a few factors, for instance the size of the transaction, the mempool congestion (meaning that the more transactions in the mempool, higher the fees will become). Onchain transactions also kinda obeys to free market rules. So, they can be higher today, lower tomorrow, etc, depening on the demand!

Offline fees or the fees in the LN depends also on a few factors such as the length of the path chosen and the fee settings of each routing node! But this is an whole other chapter! You also need to DYOR!

Once more, you can only cash out Bitcoin back to fiat of online transactions. A channel open must be closed so that you can cash out the Bitcoin once locked in that channel!
Pages:
Jump to: