Difference between revisions of "Using Autopilot on LND"

From lightningwiki.net
Jump to navigation Jump to search
(fix typo)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Autopilot]] is a way of automatically opening and managing channels with peers.
[[Autopilot]] is a way of automatically opening and managing channels with peers.


= Warning =
=Improvements=
{{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. }}
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
== Not recommended to use ==
* 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 13: 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 14:
   --autopilot.maxchannels=50000 \
   --autopilot.maxchannels=50000 \
</pre>
</pre>
{{ALERT|According to Alex, Autopilot is not designed for [[mainnet]]}}
{{INFO|In lnd 6.x, autopilot should perform better: https://github.com/lightningnetwork/lnd/pull/2633 }}


=Miscellaneous=
=Miscellaneous=

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