lnwallet+lnrpc: add address index to ListAddresses

For the itest in the next commit we'll need to be able to fetch the
input information for an address over RPC. The only piece missing is the
address' index, which we add in this commit. Everything else should be
derivable from the ListAddresses and ListAccounts calls.
This commit is contained in:
Oliver Gugger
2024-02-06 12:25:59 +01:00
parent fb20cd598e
commit 54fa5805c2
6 changed files with 663 additions and 593 deletions

View File

@@ -517,6 +517,13 @@ message AddressProperty {
// The balance of the address.
int64 balance = 3;
// The full derivation path of the address. This will be empty for imported
// addresses.
string derivation_path = 4;
// The public key of the address. This will be empty for imported addresses.
bytes public_key = 5;
}
message AccountWithAddresses {