mirror of
https://github.com/lnbook/lnbook
synced 2024-11-01 03:20:53 +00:00
Merge pull request #865 from RandyMcMillan/lighting-errata
lighting corrections
This commit is contained in:
commit
86ef9f1a1f
@ -390,7 +390,7 @@ $ docker exec c-lightning cli getinfo
|
||||
|
||||
We now have our first Lightning node running on a virtual network and communicating with a test Bitcoin blockchain. Later in this chapter we will start more nodes and connect them to each other to make some Lightning payments.
|
||||
|
||||
In the next section we will also look at how to download, configure and compile c-lightning directly from the source code. This is an optional and advanced step that will teach you how to use the build tools and allow you to make modifications to c-lighting source code. With this knowledge you can write some code, fix some bugs, or create a plugin for c-lightning.
|
||||
In the next section we will also look at how to download, configure and compile c-lightning directly from the source code. This is an optional and advanced step that will teach you how to use the build tools and allow you to make modifications to c-lightning source code. With this knowledge you can write some code, fix some bugs, or create a plugin for c-lightning.
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
@ -955,7 +955,7 @@ Congratulations! You have built Eclair from source and you are ready to code, te
|
||||
|
||||
Our final example, presented in this section, will bring together all the various containers we've built to form a Lightning network made of diverse (LND, c-lightning, Eclair) node implementations. We'll compose the network by connecting the nodes together and opening channels from one node to another. As the final step, we'll route a payment across these channels!
|
||||
|
||||
In this example, we will replicate the Lighting network example from <<routing_on_a_network_of_payment_channels>>. Specifically, we will create four Lightning nodes named Alice, Bob, Chan, and Dina. We will connect Alice to Bob, Bob to Chan, and Chan to Dina. Finally, we will have Dina create an invoice and have Alice pay that invoice. Since Alice and Dina are not directly connected, the payment will be routed as an HTLC across all the payment channels.
|
||||
In this example, we will replicate the Lightning network example from <<routing_on_a_network_of_payment_channels>>. Specifically, we will create four Lightning nodes named Alice, Bob, Chan, and Dina. We will connect Alice to Bob, Bob to Chan, and Chan to Dina. Finally, we will have Dina create an invoice and have Alice pay that invoice. Since Alice and Dina are not directly connected, the payment will be routed as an HTLC across all the payment channels.
|
||||
|
||||
==== Using docker-compose to orchestrate Docker containers
|
||||
|
||||
|
@ -209,7 +209,7 @@ Umbrel is currently still in beta and not considered secure.
|
||||
While not initially designed as an installation "helper", the e-commerce and payment platform _BTCPay Server_ has an incredibly easy installation system that uses Docker containers and +docker-compose+ to install a Bitcoin node, Lightning node, and payment gateway, among many other services. It can be installed on a variety of hardware platforms, from a simple Raspberry Pi 4 (4GB recommended) to a mini PC, old laptop, desktop or server.
|
||||
|
||||
BTCPay Server is a fully-featured self-hosted self-custody e-commerce platform that can be integrated with many e-commerce platforms such as Wordpress Woocommerce and others. The installation of the full node is only a step of the e-commerce platform installation.
|
||||
While originally developed as a feature-for-feature replacement of the _Bitpay_ commercial payment service and API, it has evolved past that to be a complete platform for BTC and Lighting services related to e-commerce. For many sellers or shops it is a one-shop turn-key solution to e-commerce.
|
||||
While originally developed as a feature-for-feature replacement of the _Bitpay_ commercial payment service and API, it has evolved past that to be a complete platform for BTC and Lightning services related to e-commerce. For many sellers or shops it is a one-shop turn-key solution to e-commerce.
|
||||
|
||||
More information can be found at:
|
||||
|
||||
@ -471,7 +471,7 @@ Sometimes, even if your Internet router supports UPNP, it may be turned off by d
|
||||
|
||||
. Find a setting for UPNP and turn it on.
|
||||
|
||||
Restart your Bitcoin and/or Lighting node and repeat the open port test with one of the websites we used in the previous section.
|
||||
Restart your Bitcoin and/or Lightning node and repeat the open port test with one of the websites we used in the previous section.
|
||||
|
||||
===== Using Tor for incoming connections
|
||||
|
||||
@ -782,7 +782,7 @@ Autopilots currently exist in 3 forms.
|
||||
|
||||
- +lnd+ incorporates an autopilot that is fully integrated with +lnd+ and runs constantly in the background while turned on.
|
||||
- +lib_autopilot.py+ can offer autopilot computations for any node implementation based on the gossip and channel data.
|
||||
- A +c-lighting+ plugin based on +lib_autopilot.py+ exists that provides an easy to use interface for +c-lightning+ users.
|
||||
- A +c-lightning+ plugin based on +lib_autopilot.py+ exists that provides an easy to use interface for +c-lightning+ users.
|
||||
|
||||
Be aware that the +lnd+ autopilot will start running in the background as soon as it is turned on via the config file. As a result it will start opening channels immediately if you have onchain outputs in your +lnd+ wallet.
|
||||
If you want to have full control over the bitcoin transactions that you make and the channels that you open, make sure to turn the autopilot off _before_ you load your +lnd+ wallet with bitcoin funds.
|
||||
|
Loading…
Reference in New Issue
Block a user