multi: forward address and import calls over RPC

In order to support the full range of on-chain functionality, including
importing watch-only accounts in the watch-only instance, we need to
forward some calls like creating new addresses or importing accounts to
the remote signing instance.
This commit is contained in:
Oliver Gugger
2021-10-14 15:42:51 +02:00
parent 9cae7ad3c2
commit 19db382e24
6 changed files with 703 additions and 441 deletions

View File

@@ -286,6 +286,16 @@ message AddrRequest {
default wallet account is used.
*/
string account = 1;
/*
The type of address to derive.
*/
AddressType type = 2;
/*
Whether a change address should be derived.
*/
bool change = 3;
}
message AddrResponse {
/*