lncfg+sample-lnd.conf: add DNS seed flag to chain cfg

This commit is contained in:
Oliver Gugger
2020-11-03 21:19:15 +01:00
parent 3f9a707531
commit 1548528a3f
2 changed files with 28 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ type Chain struct {
BaseFee lnwire.MilliSatoshi `long:"basefee" description:"The base fee in millisatoshi we will charge for forwarding payments on our channels"`
FeeRate lnwire.MilliSatoshi `long:"feerate" description:"The fee rate used when forwarding payments on our channels. The total fee charged is basefee + (amount * feerate / 1000000), where amount is the forwarded amount."`
TimeLockDelta uint32 `long:"timelockdelta" description:"The CLTV delta we will subtract from a forwarded HTLC's timelock value"`
DNSSeeds []string `long:"dnsseed" description:"The seed DNS server(s) to use for initial peer discovery. Must be specified as a '<primary_dns>[,<soa_primary_dns>]' tuple where the SOA address is needed for DNS resolution through Tor but is optional for clearnet users. Multiple tuples can be specified, will overwrite the default seed servers."`
}
// Validate performs validation on our chain config.