github.com/decred/dcrlnd@v0.7.6/lncfg/autopilot.go (about)

     1  package lncfg
     2  
     3  // AutoPilot holds the configuration options for the daemon's autopilot.
     4  type AutoPilot struct {
     5  	Active         bool               `long:"active" description:"If the autopilot agent should be active or not."`
     6  	Heuristic      map[string]float64 `long:"heuristic" description:"Heuristic to activate, and the weight to give it during scoring."`
     7  	MaxChannels    int                `long:"maxchannels" description:"The maximum number of channels that should be created"`
     8  	Allocation     float64            `long:"allocation" description:"The percentage of total funds that should be committed to automatic channel establishment"`
     9  	MinChannelSize int64              `long:"minchansize" description:"The smallest channel that the autopilot agent should create"`
    10  	MaxChannelSize int64              `long:"maxchansize" description:"The largest channel that the autopilot agent should create"`
    11  	Private        bool               `long:"private" description:"Whether the channels created by the autopilot agent should be private or not. Private channels won't be announced to the network."`
    12  	MinConfs       int32              `long:"minconfs" description:"The minimum number of confirmations each of your inputs in funding transactions created by the autopilot agent must have."`
    13  	ConfTarget     uint32             `long:"conftarget" description:"The confirmation target (in blocks) for channels opened by autopilot."`
    14  }