cnct+lnrpc: report anchor resolution

This commit is contained in:
Joost Jager committed 2020-03-18 12:27:03 +01:00
1 parent ea397c9d6e
commit ab451f634e
6 files changed
+826 -708

No files matched your search

+747 -707
View File
File diff suppressed because it is too large. Load diff
+8
View File
@@ -2016,6 +2016,14 @@ message PendingChannelsResponse {
int64 recovered_balance = 6;
repeated PendingHTLC pending_htlcs = 8;
enum AnchorState {
LIMBO = 0;
RECOVERED = 1;
LOST = 2;
}
AnchorState anchor = 9;
}
/// The balance in satoshis encumbered in pending channels
+12
View File
@@ -1534,6 +1534,15 @@
"default": "RESERVED",
"description": " - RESERVED: *\nThe numbers assigned in this enumeration match the failure codes as\ndefined in BOLT #4. Because protobuf 3 requires enums to start with 0,\na RESERVED value is added.\n - INTERNAL_FAILURE: *\nAn internal error occurred.\n - UNKNOWN_FAILURE: *\nThe error source is known, but the failure itself couldn't be decoded.\n - UNREADABLE_FAILURE: *\nAn unreadable failure result is returned if the received failure message\ncannot be decrypted. In that case the error source is unknown."
},
"ForceClosedChannelAnchorState": {
"type": "string",
"enum": [
"LIMBO",
"RECOVERED",
"LOST"
],
"default": "LIMBO"
},
"HTLCAttemptHTLCStatus": {
"type": "string",
"enum": [
@@ -1630,6 +1639,9 @@
"items": {
"$ref": "#/definitions/lnrpcPendingHTLC"
}
},
"anchor": {
"$ref": "#/definitions/ForceClosedChannelAnchorState"
}
}
},