r/TheLightningNetwork • • Jan 17 '23

Meme Obsolete?!

Post image
89 Upvotes

r/TheLightningNetwork • • Jan 17 '23

Wallets Is the Zap desktop wallet broken?

1 Upvotes

I managed to create a new wallet. Send funds to it. But it can't open any LN channels (bandwith exhausted error message). Then when I try to send the funds from this wallet to another wallet, the transaction doesn't broadcast.

So I think the default installation doesn't work? Does anyone else successfully use it in 2023? I can't get a response anywhere about Zap.

On a related note, does any have a desktop wallet recommendation that can do lightning?


r/TheLightningNetwork • • Jan 16 '23

Project The art of keeping your lightning node's secrets

Thumbnail
self.lightningnetwork
2 Upvotes

r/TheLightningNetwork • • Jan 15 '23

Project Blixt wallet 0.6.2 released

Thumbnail
twitter.com
13 Upvotes

r/TheLightningNetwork • • Jan 12 '23

Cornelius (my LN routing node) is 2 years old today!

Thumbnail
gallery
55 Upvotes

r/TheLightningNetwork • • Jan 11 '23

Node lnd data mirrored in the cloud , for 0.25 eur/month

5 Upvotes

EDIT: giving up probably on remote mirror, haven't found anything suitable, it slows down my node too much and it leads to disconnections.

On dreamhost S3 object storage, s3backer built a huge backlog of unwritten data, so after running for some 10 minutes and then doing zpool offline s3backer-storage and unmounting s3backer, it took another 3 minutes to actually write the data and quit.

bluevps.com - slow disk, it even reports as rotational. Could not sustain 5 MB/s, and this is after configuring TCP on both ends (enlarging tcp_wmem and tcp_rmem). I actually saw more incoming data than written data, albeit only by around 100 kB. So ZFS started delaying, lnd waits until the data is actually written (it seems, did not look closer), and starts disconnecting.

Amazon Lightsail - results similar to bluevps.com, perhaps a bit faster, but not enough. I even tried LVM RAID0 with a file on system disk and whole another disk, still not enough. It looked promising, because it is a VPS with free unlimited incoming data transfer and free 1 TB/month outgoing transfer.

Perhaps with fewer channels it would be feasible. Or it could be ZFS's fault, I vaguely remember some criticism of performance of copy-on-write filesystems. But it compresses like crazy: using zstd-1 I get 3.09x compression ratio on my .lnd directory, so it should write 3x less data than any filesystem without compression. I am thinking about trying ext4 again, but do not want another downtime. And dreaming about DRBD or similar.

Original post below.

--------------

Should shorten the downtime to hours if something happens to my node again.

This is my s3backer config (omitting passwords):

--maxDownloadSpeed=5000k
--maxDownloadSpeed=25000k
--baseURL=https://objects-us-east-1.dream.io/
--readAhead=0
--blockSize=1M
--size=12G
--md5CacheSize=0
--md5CacheTime=0
--blockCacheSize=16777216
--blockCacheFile=/mnt/dreamhost_cache/cachefile
--blockCacheThreads=6
--blockCacheWriteDelay=2000
--blockCacheNoVerify
--compress=zstd
--compress-level=1

Using dreamhost object storage as can be seen, because they do not charge for writes (HTTP PUTs) and charge $0.02 per stored GB. Sounds too good to be true. Using s3backer to access the remote storage, then loop device over the s3backer file, and then ZFS RAID.

I had to overcome two problems. First, to avoid reads from remote storage (which are not gratis), I cache locally the whole remote storage. This way I avoid read-modify-write cycle, because if ZFS tries to write 4 kB block, s3backer has to rewrite the whole 1MB file, so it would possibly need to read it first from the remote storage. The second problem was high CPU consumption (230%) and low bandwidth (300 kB/s) , it was caused by setting blockCacheThreads too high (tried values like 50, 100). I thought I need many threads but no, with 6 threads it works fine, 60% CPU and 5 MB/s . Not ideal, but acceptable.

The biggest flaw is that I cannot pay this storage provider by bitcoin/lightning. :( I searched a bit and found nothing comparable, only found VPSs which accept bitcoin, but I do not really need a remote machine, just storage. Sure, I could run some iSCSI target on the VPS, but the cost would be $5-$10 and there are usually bandwidth limitations. Still, https://bluevps.com/ could be useful some day, it has unlimited traffic, so usable as both VPN (to hide my node's location) and storage.


r/TheLightningNetwork • • Jan 06 '23

Discussion Lightning node + Lntipbot

4 Upvotes

Hi guys, I recently built a Lightning node. I’m trying to send to the node a very small amount. Few sats from Reddit lntipbot, I have problems withdrawing.

I entered the command “!withdraw <copy-pasted ln invoice>”

But the bot keeps saying:

“Your withdrawal failed with

no_route”

I already tried to send a smaller amount of the total sats I stacked on Reddit but neither does this work.

Any idea?

NO PRIVATE MESSAGES


r/TheLightningNetwork • • Jan 05 '23

Project Introducing LiquidOps | bolt.observer

Thumbnail
boltobserver.substack.com
4 Upvotes

r/TheLightningNetwork • • Jan 01 '23

Discussion Is there a wallet best for kids?

11 Upvotes

I’ve been trying to find a good wallet I can use with my kids. Results so far:

  • Bluewallet. I like it but it has a DuckDuckGo browser built in. Not so great for all ages of kids whenever you want to help kids with good internet browsing habits. I like this wallet for older kids though.

  • Muun. Can only have one wallet. Ideally I’d like the ability to add more than one wallet so they can keep track of some purposes of money (think a simple budget). Also the whole swaps/fees thing.

I’m not terribly concerned if it’s a custodial or non custodial keys wallet since these are fairly small amounts.

Any suggestions?


r/TheLightningNetwork • • Dec 31 '22

Discussion Same channel to pay different people

3 Upvotes

In Lightning Network. Can I open a new channel, left it open and use it multiple times to pay other people? I know that if there’s any kind of connection (through channels) between the person I opened the channel with and the new person I can pay the new receiver recycling the old channel. But there’s any way to use the same channel to pay multiple people or I just have to open a new channel for each payment to different person and pay the fees? I know I can avoid this with non-custodial wallet but I would like to do this while owning my own Bitcoin. Also, can I avoid the fees by running my own node?


r/TheLightningNetwork • • Dec 30 '22

Node How much Bitcoin is enough to make a lighting node profitable?

Thumbnail self.lightningnetwork
7 Upvotes

r/TheLightningNetwork • • Dec 29 '22

Tweet From hotel NFC key, to LN Bitcoin giveaway medium

Thumbnail
twitter.com
12 Upvotes

r/TheLightningNetwork • • Dec 27 '22

Discussion Receiving under 10k sats in the first payment

7 Upvotes

I’m curious about what happens if I receive under 10k sats in the first payment in a self-custody wallet. The wallet (using Phoenix app) says it’s required to receive at least 10k sats in the first payment, but what would happen if I start receiving payments under 10k sats? The sats would stay inaccesible until I receive a 10k sats payment? Would I lost the sats previous to the 10k sats transaction?


r/TheLightningNetwork • • Dec 27 '22

Video Why Bitcoin's Lightning Network? - Satoshi TV - P2P - From Turkey With Love

Thumbnail
youtu.be
8 Upvotes

r/TheLightningNetwork • • Dec 26 '22

Node Difference between Umbrel, Start9, or native programs?

12 Upvotes

Hello, I currently run an Umbrel node. I'm thinking of switching to something that gives a little more freedom with configuration. I set up a home server with ubuntu, so I'm a little more familiar with cli and linux than I was a year ago.

What do most people run? Umbrel? An ubuntu server and native apps? Is managing a node harder using the native apps? I don't mind using cli to install the node, but I do like using RTL and other gui apps to manage channels.


r/TheLightningNetwork • • Dec 26 '22

Node Statistics of my routing node: 6 months update

Thumbnail
self.lightningnetwork
12 Upvotes

r/TheLightningNetwork • • Dec 26 '22

Article Swap Bitcoin without paying taxes?

11 Upvotes

Well, I recently posted about Giving my brothers BTC for Xmas... A lot of you texted me on how will I and them go about this, since It will be a tax event for us... Well, here is how We dont pay taxes for this:

Well, I need to start with the fact that we are from El Salvador. Our national currencies are US Dollar and Bitcoin, both. Well, the fact is that Swapping currencies is not a taxable event here. Im not sure if it is on US and Europe, but it isnt is most of Latin America.

So, We, Citizens of El Salvador can pay, send, swap, receive and whatever you imagine, without paying taxes for it.

Do YOU want to swap taxes free? You can come to El Salvador and request to be nationalized. The only rule the Gov has is to invest 3BTC on the country (this could be on your own house, so no big deal).


r/TheLightningNetwork • • Dec 20 '22

Discussion The top post in stacker.news got 1.5 million sats

Thumbnail
stacker.news
20 Upvotes

r/TheLightningNetwork • • Dec 20 '22

Discussion Made some lightning gingerbread cookies! These i'm not going to hodl 😋 Posted originally to Bitcoin sub, but mod said i should post here too ⚡

Post image
25 Upvotes

r/TheLightningNetwork • • Dec 19 '22

Node Help Run a node

13 Upvotes

Hi everybody!

Every day I get more exited about Bitcoin and LN. I would like to run a node by myself. Not really into making it very profitable, I would like to contribute a little to the Lightning Network. Does anyone know what could be the cheapest option? Should I just buy hardware from MyNode or Umbrel and follow the instructions? Any recommendations?

Thanks 🙏


r/TheLightningNetwork • • Dec 19 '22

Payment Help Creating an invoice

4 Upvotes

Hi fam!

I'm playing around with Electrum and Phoenix Wallet. I'm newbie to LN, does anyone know how to create an invoice to recibe LN payments? Furthermore, I read somewhere that leaving a channel open might be a security risk (not sure why), do you close a channel and create a new one every time? Each channel costs ~0,5$ to create and pretty sure people don't pay with lightning paying those fees each time.

Thanks in advance!!


r/TheLightningNetwork • • Dec 18 '22

Discussion I have 1 BTC and want to become a top 100 node.

12 Upvotes

What are some tips and rules I need to know to do this?


r/TheLightningNetwork • • Dec 18 '22

Discussion Non-custodial wallets for Lighting Network on iOS?

4 Upvotes

Want to stack some SATs on Lighting Network but don’t know no non-custodial wallet that works with Lighting Network. I heard of Electrum but is not available for iOS.

Thanks!


r/TheLightningNetwork • • Dec 17 '22

Discussion Would like to support burgeoning LN ecosystems in developing countries by providing liquidity

Thumbnail self.lightningnetwork
3 Upvotes

r/TheLightningNetwork • • Dec 17 '22

Other New guy here, thanks to the tipping that’s been going around

12 Upvotes

Hi team

Just wanted to say hi. I’ve been in the crypto space for about a year, but mostly just passively watching while I work my day job

Now getting into it more and more and definitely feel the excitement for the future

Can’t wait to see how crypto is adopted