config: remove rpckey parameter
This commit is contained in:
parent
9a4a52ed89
commit
a03126ed83
@ -34,7 +34,6 @@ var (
|
|||||||
defaultLogDir = filepath.Join(lndHomeDir, defaultLogDirname)
|
defaultLogDir = filepath.Join(lndHomeDir, defaultLogDirname)
|
||||||
|
|
||||||
btcdHomeDir = btcutil.AppDataDir("btcd", false)
|
btcdHomeDir = btcutil.AppDataDir("btcd", false)
|
||||||
defaultRPCKeyFile = filepath.Join(btcdHomeDir, "rpc.key")
|
|
||||||
defaultRPCCertFile = filepath.Join(btcdHomeDir, "rpc.cert")
|
defaultRPCCertFile = filepath.Join(btcdHomeDir, "rpc.cert")
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -64,7 +63,6 @@ type config struct {
|
|||||||
RPCPass string `short:"P" long:"rpcpass" default-mask:"-" description:"Password for RPC connections"`
|
RPCPass string `short:"P" long:"rpcpass" default-mask:"-" description:"Password for RPC connections"`
|
||||||
|
|
||||||
RPCCert string `long:"rpccert" description:"File containing btcd's certificate file"`
|
RPCCert string `long:"rpccert" description:"File containing btcd's certificate file"`
|
||||||
RPCKey string `long:"rpckey" description:"File containing btcd's certificate key"`
|
|
||||||
SPVHostAdr string `long:"spvhostadr" description:"Address of full bitcoin node. It is used in SPV mode."`
|
SPVHostAdr string `long:"spvhostadr" description:"Address of full bitcoin node. It is used in SPV mode."`
|
||||||
TestNet3 bool `long:"testnet" description:"Use the test network"`
|
TestNet3 bool `long:"testnet" description:"Use the test network"`
|
||||||
SimNet bool `long:"simnet" description:"Use the simulation test network"`
|
SimNet bool `long:"simnet" description:"Use the simulation test network"`
|
||||||
@ -92,7 +90,6 @@ func loadConfig() (*config, error) {
|
|||||||
RPCUser: defaultRPCUser,
|
RPCUser: defaultRPCUser,
|
||||||
RPCPass: defaultRPCPass,
|
RPCPass: defaultRPCPass,
|
||||||
RPCCert: defaultRPCCertFile,
|
RPCCert: defaultRPCCertFile,
|
||||||
RPCKey: defaultRPCKeyFile,
|
|
||||||
SPVHostAdr: defaultSPVHostAdr,
|
SPVHostAdr: defaultSPVHostAdr,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user