Difference between revisions of "Using Autopilot on LND"

From lightningwiki.net
Jump to navigation Jump to search
(fix typo)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Autopilot is a way of automatically opening channels to peers.
[[Autopilot]] is a way of automatically opening and managing channels with peers.
= Warning =
 
{{ALERT|Autopilot is currently broken in lnd 0.5.2 for use on mainnet. It works, but it creates channels in ways that we really don't want to see channels being created. }}
=Improvements=
== Not recommended to used ==
New heuristic added in 0.11 is much better, and for 0.12 Autopilot will be enhanced even further, to actually optimize your position in the network and not just connect out the the “best” node
* It favors nodes with more channels
* It divides capital to make quite small channels
* It can only be influenced in limited ways
* It stops working after making a set number of channels


= Settings =
= Settings =
Line 12: Line 8:


<pre>
<pre>
   --autopilot.active \
   --autopilot.active=true \
   --autopilot.allocation=0.9 \
   --autopilot.allocation=0.9 \
   --autopilot.minchansize=182817 \
   --autopilot.minchansize=182817 \
Line 19: Line 15:
</pre>
</pre>


{{ALERT|According to Alex, Autopilot is not designed for [[mainnet]]}}
=Miscellaneous=
[[Autopilot]] is available in the [[Casa]] hardware Lightning Node.
 
=References=
* [https://github.com/lightningnetwork/lnd/commit/306c4aef8e3af44fb3f2d8f52fc887f2c48e9c04 Github commit and short explanation]
* [https://www.rene-pickhardt.de/index.html%3Fp=2085.html Blog post]

Latest revision as of 08:40, 19 November 2020

Autopilot is a way of automatically opening and managing channels with peers.

Improvements

New heuristic added in 0.11 is much better, and for 0.12 Autopilot will be enhanced even further, to actually optimize your position in the network and not just connect out the the “best” node

Settings

Below settings seem to work. Update this page if you know more ;).

  --autopilot.active=true \
  --autopilot.allocation=0.9 \
  --autopilot.minchansize=182817 \
  --autopilot.maxchansize=682819 \
  --autopilot.maxchannels=50000 \

Miscellaneous

Autopilot is available in the Casa hardware Lightning Node.

References