lnrpc: add macaroon_root_key to InitWalletRequest

This adds a field for specifying the macaroon root key to use during the
wallet initialization process instead of having lnd generate a random
macaroon root key itself.
This commit is contained in:
Daniel McNally committed 2022-08-12 10:30:32 -04:00
1 parent a1cd7734d8
commit 86e5f9d0db
4 files changed
+124 -77

No files matched your search

+7
View File
@@ -185,6 +185,13 @@ message InitWalletRequest {
corresponding private keys and can serve signing RPC requests.
*/
WatchOnly watch_only = 9;
/*
macaroon_root_key is an optional 32 byte macaroon root key that can be
provided when initializing the wallet rather than letting lnd generate one
on its own.
*/
bytes macaroon_root_key = 10;
}
message InitWalletResponse {
/*