lnrpc: add new unused address types for NewAddressRequest

In this commit, we add two new address types to `NewAddressRequest`.
These address types will allow the caller to retrieve the last _unused_
address, rather than always rotating to the next address in the
keychain.
This commit is contained in:
Olaoluwa Osuntokun committed 2019-03-05 15:34:56 -08:00
1 parent 3be894bc28
commit 7703567b0b
3 files changed
+584 -571

No files matched your search

+2
View File
@@ -900,6 +900,8 @@ message ListUnspentResponse {
enum AddressType {
WITNESS_PUBKEY_HASH = 0;
NESTED_PUBKEY_HASH = 1;
UNUSED_WITNESS_PUBKEY_HASH = 2;
UNUSED_NESTED_PUBKEY_HASH = 3;
}
message NewAddressRequest {