Latest Posts

We're flying the El Salvadorian Flag

Posted about 2 years ago by LN+

Congratulations for being the first nation state adopting Bitcoin as a legal tender!

Post Reply

Let's make a new world...

Posted about 2 years ago by deej

...where we control our own financial destiny by just using good old immutable MATH!

1 Reply

Perfectly balanced as all things should be

Posted about 2 years ago by Cuaritas

I developed this script for fun to  pefectly balanced your LND node as all things should be.

Note: you do not need to rebalance your channels all time, it can be expensive to rebalance some channels read this: https://lightningnetwork.plus/questions/59

Inspired by Igniter and Balance Of Satoshi. It is based on rebalance-lnd by Dr. C-Otto and uses it under the hood. It is pretty straightfoward, you can list your channels and rebalance them, some examples:

List all channels within tolerance 0.92:
./perfectlybalanced.sh --tolerance=0.92 list
or
./perfectlybalanced.sh -t=0.92 list

Default list within tolerance 0.95:
./perfectlybalanced.sh list

Unbalanced channels being rebalanced max fee 10 sats and tolerance 0.97:
./perfectlybalanced.sh --max-fee=10 --tolerance=0.97 rebalance
or
./perfectlybalanced.sh -m=10 -t=0.97 rebalance

Default max fee 50 sats and tolerance 0.95:
./perfectlybalanced.sh rebalance

Rebalance with max fee 10 sats and tolerance 0.98, ignoring channel id '761128128258703361':
./perfectlybalanced.sh --ignore=761128128258703361 -t=0.98 -m=10 rebalance

Feel free to check the code here: https://github.com/cuaritas/perfectly-balanced or keysend me 1 sat :)

lncli sendpayment --keysend 03e7299ced214b19b87ed87979462d9aee3ec07a42fe6e2211854bfa4cb32b0bb8 1 # sat

12 Replies

Admiring my node!

Posted about 2 years ago by BhaagBoseDK

image.png 5.69 MB

4 Replies

Lost my node because of hard drive failure. Trying to recover fund...

Posted about 2 years ago by satoshi.village

Lost node. Trying to recover funds.

5 Replies

Altruistic Watchtowers for LND

Posted about 2 years ago by Lightning Hoarder

Watchtowers are an utility for Lightning Network nodes to protect them against outdated channel states being published by counterparties. They do so without having to trust them with any key material, just the responsibility of checking chain state and publishing them when necessary.

This is something you should be using on your node. In this post we will discuss specifically Private Altruist Watchtowers for LND. We also have a list of several up-to-date watchtowers ready to use.

From Watchtowers | Bitcoin Optech:
Watchtowers send LN breach remedy transactions (justice transactions) when they detect that one of their client’s counterparty has broadcast an outdated channel close transaction.

The service provided by watchtowers allows their clients to go offline for significant amounts of time without having to worry about their funds being stolen by a counterparty. Watchtowers are not entrusted with any funds, just the responsibility of monitoring the block chain and broadcasting transactions, although breach remedy transactions can be designed so that the watchtower receives a portion of the safeguarded funds if their services are needed.

On LND you can connect to remote watchtowers, but also run your own. Check the  LND Documentation | Private Altruist Watchtowers for more general information about them.

Watchtowers do not store transactions directly, but they are given encrypted by your node. The only way they can decrypt them is after an obsolete commitment is published on-chain. At that time they will publish the punishment (they cannot alter this transaction), and you have been protected against a malicious/failing counterparty without your node having to be online. It is recommended to use multiple watchtowers to not depend on single ones. If you want more technical details, check the BOLT13 draft

Most watchtowers run on Tor addresses, although there are a few running on clear net IPs. As such, having Tor at least outbound is recommended to use watchtowers.

To add a new watchtower to LND, you can run a command like this (with an example tower):
$ lncli wtclient add 025d21fc580d854052e7087670ac85283dd10db7b273fc697827520a34360279db@looplnk2vszfniwkiqi66pq5tpkuslzobpo3x6jkpgjzm4jbq7i6f5qd.onion:9911

If you are looking for watchtowers to use, there are several resources:
  • openoms/lightning-node-management#4 "Watchtower list" on Github, where various people post their own watchtowers. Some work, some don't. Feel free to post yours.
  • Known LND Watchtowers on ln.LightningHoarder.net, listing various Tor and Clear Net addresses that have been tested to be working. These addresses have been collected from GitHub, Reddit, 1ML, and other sources. It is updated regularly.
  • Watch Tower Directory on 1ML.com. Several nodes have self-tagged with Watch Tower tag, though most don't run one. See their descriptions for any watchtowers, very hit/miss.

If you want to add many in bulk, you can use this command, that uses the lists provided on ln.LightningHoarder.net:
curl https://ln.lightninghoarder.net/known-lnd-watchtowers.txt | xargs -L1 lncli wtclient add

Hope you enjoy, and have a safe Lightning journey!

- Lightning Hoarder


If you want to send any tips, feel free to KeySend my node or use patron.lightninghoarder.net.

4 Replies

Tor + IP Hybrid Mode Support for Lightning nodes

Posted about 2 years ago by Fitti

Faster Connections for Tor + Clearnet Nodes

With a new update to lnd, it is now possible for nodes to enable a hybrid connection mode that allows both Tor and clearnet connections.
This feature will be in 0.14, and I'm currently testing it myself.
You can now connect to my node via IPv6 as well: 
03bec3989098df0675033530169ef105b1bd3be8fd989cb7955cb4b59616ab3530@[2a02:908:2222:7c60::8231]:9735

4 Replies

LN+ August '21 Update

Posted about 2 years ago by LN+

I've implemented some updated for LightningNetwork+. Thanks to everyone who helped with ideas, and consultations on various features.

Lightning Sign In

The most requested feature was lightning login. I had two options to consider: LNURL login and signature based login.

LNURL is an awesome and easy to use technology but it by design hides your node's pubkey, which is a good feature in most situations. In our case however, the pubkey is essential and required for LN+'s operation, so I had to decide against it.

Signature based login requires you to sign a uniquely generated string in order to prove you own a certain node. The provided signature not only verifies you successfully signed a certain message, but it also provides the encoded pubkey in a safe way. Thus, you can be immediately logged in and have your node profile populated into your account.

Note that with Lightning login LN+ doesn't have your email, so it can't send you notifications on actions you need to take. To account for this, you either have to be diligent and visit often while participating in Swaps, or edit your profile, add your email and enable Email notifications.

If you're not logged in, you can test Lightning sign in by clicking Login in the top navigation and then hitting the Lighting sign in button.

Node Explorer

Going forward LN+ will include a simple and fast to use Lightning Network node explorerer that updates practically in real time.

This allows node operators to quickly look up any node and get basic information about it, like alias, capacity, number of channels, the list of channels, and of course pubkey and address.

This feature is not meant to compete with the very detailed information 1ML, and the cool visualizations Amboss provide. Instead LN+'s node explorer focuses on speed, ease of use, and discovery especially for new node operators. If you're logged in, it will also tell you if you're already connected to a given node. Click Nodes in the nav to test it out.

Node Profiles

User profiles have been upgraded to rich node profiles.

These new node profiles focus on providing essential node information about your node quickly, and also give you the opportunity to build a branded, memorable and informative profile. 

The profile can contain the following information:
  • colorful header and theme matching your node color,
  • logo or avatar,
  • node alias,
  • total channel capacity in SAT and BTC,
  • total number of channels,
  • pubkey and address with copy button and QR code,
  • list of linked channels,
  • links to other LN explorers,
  • bio or description,
  • social links,
  • the badges / ratings you earned,
  • and the swaps you're participating in.

Posts

Nodes are a living thing. They represent your passion to play an important role in building the future of sovereign decentralized finance and payment infrastructure, and for some your business. We have the need to share information, communicate our plans, ask for advice, etc.

We did our best to follow each other on Twitter, but not everyone is on Twitter and there is considerable noise. We now have an alternative way to get the word out: Node profile posts. You can write short updates, or long format stories, like this one you're reading.

Each post can include:
  • a cover image, which is also the social image when shared,
  • a title that summarizes the post's content,
  • a rich text body,
  • and post replies.

Each post appears on your node profile and also under the Posts navigation so it's easy to follow everyone's posts in one place.

Note: I have to reserve the right to remove illegal or spam content, as I don't want to be shut down by the hosting provider.

Claim Node Profile

In order to prove you actually own a node, you can claim it using a similar signature scheme used in the Lightning signin feature. Sign the string provided and you will earn a verified badge and get rid of the yellow warning.

If you used Lighting sign in to login, the verification is done automatically, so you won't have to take this step separately.

Real Time Updating

In the background, node and channel information is now updated in real time as soon as the LN gossip protocol provides the information about an update. This will help you be informed about the latest state of nodes, and join restricted swaps as soon your node has sufficient capacity or number of channels.

What's Next?

Based on your ideas and requests, I have a fairly substantial list of ideas and improvements that I will work on in the coming weeks. Most of these are covering for various edge cases in Swaps or minor feature or UX improvements.

One notable feature I'm working on is Private Swaps. This is a type of Swap that allows you to organize a triangle or other shape among friends or collegues without including uninvited parties.

If you have any requests or ideas, please share in email, chat or in a reply here.

14 Replies