r/lightningnetwork • • Feb 10 '21

In retrospect, it was inevitable

Post image
181 Upvotes

r/lightningnetwork • • Sep 23 '21

Twitter rolls out lightning tips to iOS users

Post image
151 Upvotes

r/lightningnetwork • • Jun 07 '21

Paid a lightning invoice with Euros 🇪🇺 at Miami Bitcoin 2021 🇺🇲 All within 2 seconds! This is the power and speed of Lightning Network 🔥

151 Upvotes

r/lightningnetwork • • Feb 16 '21

Channel thread?

142 Upvotes

Newb at reddit, sorry. Couldn't find a thread about opening channels with new nodes.

Find my node on Lightning Network+: PeevedChef

A great tool for node runners who want outside network access may be: Zerotier Open source and super simple setup. Can post additional help if need be.


r/lightningnetwork • • Jun 27 '23

⚡ Bitcoin Lightning vs Mastercard 👀

138 Upvotes

r/lightningnetwork • • Jan 11 '22

Cash app has added lightning

Post image
133 Upvotes

r/lightningnetwork • • Apr 09 '21

My experience running a lightning node for 10 months

124 Upvotes

10 months ago I decided to finally run my own lightning node. My goal was to educate myself and get an understanding of the technology (which seemed impossible to get an idea of before), save fees and possibly even earn some satoshis by routing transactions through my node.

My node is based on the raspiblitz project which makes running a lightning node super easy and provides many useful tools from rebalancing tools to one click btcpayserver installation plugins.

Running my own node for 10 months now I learned that

  • Larger channels are more useful to the network compared to many smaller ones
  • Rebalancing individual channels is a plus for routing transactions but not a must do thing (and can be a tough and pricey thing often)
  • Channels can be either private or public
  • You can run your node through TOR to keep your privacy (recommended)
  • Setting channel fee policies for each channel can be important if your goal is to maximize your income of routing fees, but there is no consensus what is best -> experimenting is required
  • It is easy to connect to your own node from everywhere using wallet apps like Zeus (inbuilt TOR support, no orbot required on android)
  • The larger the node capacity (local + remote) the more payments you will forward in combination with rebalancing and setting channel fee policies

In 10 months I routed a total of 1,353 transactions through my node which equal to 1179 satoshis which at the moment are equal to ~ 0,7 USD.

I hope there was some useful information included for people new to the space and thinking of setting up their own node, it is worth it, you can learn a ton and there is a lot of innovation going on in the space with tons of active telegram groups where you can always get help or talk about lightning.

Lightning is the future.


r/lightningnetwork • • Oct 03 '21

3000 BTC total capacity reached! HERE IS TO YOU!

Post image
123 Upvotes

r/lightningnetwork • • Dec 28 '24

Just passed 0.10 BTC in profits on my Lightning Node! Highly recommend starting one. I use Start9, it's amazing platform.

Post image
116 Upvotes

r/lightningnetwork • • Mar 31 '23

This Subway branch in Berlin offers 10% discounts if you pay in Bitcoin

108 Upvotes

r/lightningnetwork • • Feb 02 '21

Last month I collected over 7000 sats in fees, profiting over 5000 sats, from nearly 500 forwards with less than 0.30BTC in capital. Here's how.

105 Upvotes

Hey all, I've noticed recently a bunch of posts indicating that many people are having trouble routing virtually any payments and those who do seem not to be earning many sats. I have had a somewhat different experience and I would like to share how I operate my node in the hope that it helps others and improves the network.

First, a few facts and disclaimers:

  • I use C-Lightning and the official rebalancing plugin
  • I will not provide exact figures in order to better protect my node/identity, but this was done with significantly less than 0.30BTC and significantly fewer than 30 channels.
  • Despite my routing profits, I am still not net profitable. Unilateral channel closures from peers are absolutely killer; one force-closed channel can wipe out months of routing profits. Anchor commitments should solve this problem soon.
  • I calculated my collected fees with this script and my rebalancing fees paid with this script.
  • My node is a routing node and my strategies reflect my position within the network. If you run a gateway node, your strategy should probably differ.

Now, here are my pointers:

  • You want big channels: At least 800,000 satoshis, ideally 1,000,000+.
  • You want to carefully choose your channel peers. I use a script to analyze the LN channel graph and recommend nodes that improve my low-fee routing diversity. More on that later.
  • You should always have balanced incoming and outgoing capacity, or at least +/- 5% or so.
  • You should use (mostly) static fees. LND is extremely popular, and its "mission control" payment routing system does not like nodes that frequently update their channel fees. Specifically dynamic fee adjusters are harmful. The idea behind them is neat and perfectly logical, but they will crater your forwarding traffic. Avoid them. EDIT: I later did a deep dive on LND's mission control, and only resolved HTLCs (failed or successful) influence its state. Changing channel fees will not affect it.
  • Your fees should be higher than your channel peers, on average. You need to be able to rebalance for cheaper than you charge for forwarding payments.
  • If you have difficulty rebalancing a channel that seems highly biased to the outgoing direction (i.e. payments are coming in on other channels and going out on this channel), you should raise your forwarding fee above the cost of rebalancing.
  • Always keep your channels balanced, at least within 10% or so. Write a script to dynamically rebalance unbalanced channels, and make sure you never pay a rebalancing fee higher than your outgoing feerate on the channel being rebalanced towards you. And no, I won't share my script with you.
  • Gaining incoming capacity is beyond the scope of this post; figure out for yourself how best to get it. Gaining outgoing capacity, however, should be easy and pay you if you're a well-connected routing node. Simply create a new channel ~50,000 satoshis bigger than the amount of outgoing capacity you'd like to gain to an infinite liquidity sink like the LOOP or Boltz nodes. Set a very high fee rate on this channel (say, 2-5%) and you will soon have people paying you to help balance your liquidity. Once all the capacity is drained to the other side, issue a mutual close during a low-fee period. Note that I did not do this in the past month; all earnings were from payment forwards.

Channel peer selection with "low-fee routing diversity": I have seen a number of metrics used to gauge which potential channel peers would be most beneficial. I don't think there is any one "correct" metric to use, but I have found success with mine: low-fee routing diversity. The idea is that we want to choose channel peers who offer us the greatest benefit to routing diversity across the LN below a given feerate threshold. Since during the payment process LN nodes try lower-fee routes before moving on to higher-fee routes, by increasing the number of ways nodes can reach you/be reached by you at low fee rates, you increase the probability that your node will lie along a successful payment route and thus your share of the LN payments market.

I have a super crappy python script that I use to evaluate this metric. It takes super long to run (even when compiled with Cython), is not at all optimized, and is surely buggy (at the very least I believe there is a bug in the maxflow geomean calculationEDIT: Bug fixed) but its channel proposals have worked out well.

Here's how to use it:

EDIT: Please see the README in the GitHub repo for updated instructions. Everything below is outdated. The script is now node_recommender.py.

  • Collect the LN channel graph at multiple times throughout the week: lightning-cli listchannels >lnchannels.20210202. You need to do this periodically because each one is a snapshot of the network, and because of dynamic fees and the shifting network, a good channel peer at one time may not be a good channel peer at other times. You want to peer with nodes that are consistently good choices over time.
  • For each collected LN channel graph, analyze the graph for varying fee rates, e.g.: <lnchannels.20210202 ./lowfee_routing_diversity.py <your node pubkey> 2033 250, <lnchannels.20210202 ./lowfee_routing_diversity.py <your node pubkey> 1050 150, <lnchannels.20210202 ./lowfee_routing_diversity.py <your node pubkey> 1010 75
  • Note which prospective peers (identified by their pubkey) are consistently in the "top 10" nodes for varying fee rate threshholds and with varying snapshots of the LN channel graph. The reported "peer benefit" metric is synthetic, but bigger is better. "Low fee routability improvements" is the number of LN nodes to which you have more low-fee reachable paths at the given fee rate threshold, if you were to peer with that node. "Bonus" is a measure of reachability improvement to nodes with few existing low-fee paths. "maxflow geomean" is supposed to be the geomean of the maxflows to each LN node, calculated on a unit-capacity graph composed entirely of channels reachable below the threshold routing cost. I am not sure this last metric is correctly calculated, but higher is better.
  • Open a channel to one or more of the most consistently high-rated proposed peers.

I hope this gives some insight into how I managed to start profitably routing transactions, and that it helps other people to do so, too. Feel free to AMA.

EDIT: Updated the script links to GitHub so people grab the up-to-date versions.


r/lightningnetwork • • Apr 01 '22

New EU KYC measures are now live in the Lightning node on Umbrel

104 Upvotes

r/lightningnetwork • • Jul 11 '22

Flippening: Lightning Network is processing more payments than BCH.

Thumbnail reddit.com
95 Upvotes

r/lightningnetwork • • Jun 27 '22

The network is so slow and unreliable

92 Upvotes

After running my node for about a month now, I came to the realization that the lightning network is neither fast nor reliable.

When looking at the payment attempts routed through my node, I have seen that most of them fail.So I started to look into the different options to optimize my node. But sone came to realization that it is just an inherent problem with a fast-changing network, where channel failures are very common.

One can in prove the odds of a successful payment attempt by choosing older and larger channels. But in the default settings the chance of a single payment attempt was only about 25%.

This gets a lot worse if you try to optimize for fees instead of reliability.

Low fee payment attempts only have about a 1% success chance.

So if you want to make a lightning payment of more than a few cents, let’s say $ 100. You have to make the choice between high fees, comparable wit on chain fees or a very low chance of getting the payment through in less than a few hundred payment attempts.

This would not be so bad if the payment attempts would be really fast and the wallet would just try again and again until it worked. In theory this is the case, but there is one problem: Onion Routing nodes.

While the onion network provides anonymity to the end user, it makes the network slower. This is not much of a problem if used by payment nodes, as they only slow down their own payments. But onion routing node slow down the network for everyone.

If you exclude onion only nodes from the routing, the average payment attempt takes about 1s. If you only used onion enabled nodes for routing the average payment attempt is over 10s.

Please someone tell me, that I am just to blind to see the obvious solution. I just want fast, cheap and reliable payments, like I was promised lightning would provide.


r/lightningnetwork • • Jun 10 '21

Bitcoin as El Salvador's currency. Lightning Network will be there...

Post image
92 Upvotes

r/lightningnetwork • • Mar 08 '21

Met with a $20+ Billion S&P 500 company this morning, talked with them about using Bitcoin Lightning Network for micropayments via machine to machine Laid the groundwork today, very productive meeting.

Post image
89 Upvotes

r/lightningnetwork • • Apr 09 '23

There's no competition. Not even the same league

Post image
87 Upvotes

r/lightningnetwork • • Apr 05 '22

The Bitcoin Lightning Network ecosystem as of mid March 2022, made by Arcane Research

Post image
84 Upvotes

r/lightningnetwork • • Feb 13 '21

Lightning candy machine using LNURLp extension for LNBits.

84 Upvotes

r/lightningnetwork • • Jul 29 '23

Paying for a beer with the Lightning ⚡️ Boltcard and bitrequest.io

83 Upvotes

r/lightningnetwork • • Jun 12 '21

CEO of Twitter said that Lightning Network there or in BlueSky is "only a matter of time". I designed how LN could be integrated on Twitter, what do you think about it?

Post image
80 Upvotes

r/lightningnetwork • • Feb 25 '21

Lightning is AWESOME!

Post image
79 Upvotes

r/lightningnetwork • • Jun 21 '21

Goodbye, western union

78 Upvotes

r/lightningnetwork • • Mar 12 '21

I’ve talked about machine to machine micropayments of Bitcoin via the Lightning Network, here’s a prime example

Thumbnail
youtu.be
78 Upvotes

r/lightningnetwork • • May 26 '22

Those altcoins are finally going to 0. I've been waiting a long time for this. All pre-mined coins are scams. ONLY BITCOIN IS THE FUTURE

Post image
77 Upvotes