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

     1  package lncfg
     2  
     3  import "decred.org/dcrwallet/v4/p2p"
     4  
     5  type DcrwalletConfig struct {
     6  	GRPCHost       string `long:"grpchost" description:"The wallet's grpc listening address. If a port is omitted, then the default port for the selected chain parameters will be used."`
     7  	CertPath       string `long:"certpath" description:"The file containing the wallet's certificate file."`
     8  	AccountNumber  int32  `long:"accountnumber" description:"The account number that dcrlnd should take control of for all onchain operations and offchain key derivation."`
     9  	ClientKeyPath  string `long:"clientkeypath" description:"The file containing a client private key to use when connecting to a remote wallet"`
    10  	ClientCertPath string `long:"clientcertpath" description:"The file containing the client certificate to use when connecting to a remote wallet"`
    11  
    12  	SPV        bool     `long:"spv" description:"Whether to use SPV mode when using an embedded wallet"`
    13  	SPVConnect []string `long:"spvconnect" description:"Addresses to connect to when using spv mode"`
    14  
    15  	DisableRelayTx bool `long:"disablerelaytx" description:"Disable receiving mempool transactions in SPV mode"`
    16  
    17  	DialFunc p2p.DialFunc
    18  }