multi: add remote RPC signing wallet implementation

This commit is contained in:
Oliver Gugger
2021-10-14 15:42:49 +02:00
parent 917cf4e99b
commit 9cae7ad3c2
5 changed files with 576 additions and 2 deletions

9
lncfg/remotesigner.go Normal file
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"`
}