lnrpc+lnd: adds required reserve in walletbalance rpc

This commit is contained in:
priyanshiiit committed 2022-06-28 23:31:51 +05:30
1 parent 150c0b5de8
commit 8578433b3d
4 files changed
+1574 -1541

No files matched your search

+1549 -1536
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -2567,6 +2567,9 @@ message WalletBalanceResponse {
// other usage.
int64 locked_balance = 5;
// The amount of reserve required.
int64 reserved_balance_anchor_chan = 6;
// A mapping of each wallet account's name to its balance.
map<string, WalletAccountBalance> account_balance = 4;
}
+5
View File
@@ -6646,6 +6646,11 @@
"format": "int64",
"description": "The total amount of wallet UTXOs held in outputs that are locked for\nother usage."
},
"reserved_balance_anchor_chan": {
"type": "string",
"format": "int64",
"description": "The amount of reserve required."
},
"account_balance": {
"type": "object",
"additionalProperties": {