lnrpc: add new locked balance field for WalletBalance
In this commit, we add a new field to the WalletBalance call that permits users to account for the set of outputs that may be locked due to a pending transaction. Without this field any time users locked outputs for things like PSBT signing, then they disappear from the WalletBalance call, which may cause a panic.
This commit is contained in:
4 files changed
+1561
-1517
No files matched your search
@@ -6540,6 +6540,11 @@
|
||||
"format": "int64",
|
||||
"title": "The unconfirmed balance of a wallet(with 0 confirmations)"
|
||||
},
|
||||
"locked_balance": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The total amount of wallet UTXOs held in outputs that are locked for\nother usage."
|
||||
},
|
||||
"account_balance": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
|
||||
Reference in new issue
Block a user