Merge pull request #5689 from guggero/remote-signer

Support remote signing over RPC
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-10-18 18:39:17 -07:00
commit 94b7b71809
51 files changed
+3331 -788

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
package lncfg
// RemoteSigner holds the configuration options for a remote RPC signer.
type RemoteSigner struct {
Enable bool `long:"enable" description:"Use a remote signer for signing any on-chain related transactions or messages. Only recommended if local wallet is initialized as watch-only. Remote signer must use the same seed/root key as the local watch-only wallet but must have private keys."`
RPCHost string `long:"rpchost" description:"The remote signer's RPC host:port"`
MacaroonPath string `long:"macaroonpath" description:"The macaroon to use for authenticating with the remote signer"`
TLSCertPath string `long:"tlscertpath" description:"The TLS certificate to use for establishing the remote signer's identity"`
}