LND Configuration Settings

From PlebNet Wiki
Revision as of 23:07, 15 July 2021 by Xenonfun (talk | contribs)
Jump to navigation Jump to search

Intro

This is a work in progress, will add better descriptions and formatting shortly.

Watch Tower Settings

  • wtclient.active=1
  • wtclient.sweep-fee-rate=10

Routing Optimization

  • routerrpc.apriorihopprob=0.5
  • routerrpc.aprioriweight=0.75
  • routerrpc.attemptcost=10
  • routerrpc.attemptcostppm=10
  • routerrpc.maxmchistory=100000
  • routerrpc.minrtprob=0.005
  • routerrpc.penaltyhalflife=2h0m0s
  • routerrpc.attemptcost=10
  • routerrpc.attemptcostppm=10
  • max-cltv-expiry=5000
  • max-commit-fee-rate-anchors=100

Channel Size limits

  • minchansize=5000000

Database optimizations

  • db.bolt.auto-compact=true
  • gc-canceled-invoices-on-startup=1
  • gc-canceled-invoices-on-the-fly=1
  • caches.channel-cache-size=500000


Startup Optimizations

  • sync-freelist=1
  • stagger-initial-reconnect=1

Logging

  • debuglevel=CNCT=debug,CRTR=debug,HSWC=debug,NTFN=debug,RPCS=debug

Pre 0.13 LND settings

  • protocol.anchors=true