routing: invalid channels updatechanpolicy call

This commit is contained in:
ErikEk committed 2021-09-15 10:20:49 +02:00
1 parent 03bce2129b
commit 46e9481e6c
9 files changed
+1787 -1342

No files matched your search

+38 -1
View File
@@ -3831,6 +3831,23 @@
}
}
},
"lnrpcFailedUpdate": {
"type": "object",
"properties": {
"outpoint": {
"$ref": "#/definitions/lnrpcOutPoint",
"title": "The outpoint in format txid:n"
},
"reason": {
"$ref": "#/definitions/lnrpcUpdateFailure",
"description": "Reason for the policy update failure."
},
"update_error": {
"type": "string",
"description": "A string representation of the policy update error."
}
}
},
"lnrpcFailure": {
"type": "object",
"properties": {
@@ -5562,7 +5579,16 @@
}
},
"lnrpcPolicyUpdateResponse": {
"type": "object"
"type": "object",
"properties": {
"failed_updates": {
"type": "array",
"items": {
"$ref": "#/definitions/lnrpcFailedUpdate"
},
"description": "List of failed policy updates."
}
}
},
"lnrpcPsbtShim": {
"type": "object",
@@ -6100,6 +6126,17 @@
}
}
},
"lnrpcUpdateFailure": {
"type": "string",
"enum": [
"UPDATE_FAILURE_UNKNOWN",
"UPDATE_FAILURE_PENDING",
"UPDATE_FAILURE_NOT_FOUND",
"UPDATE_FAILURE_INTERNAL_ERR",
"UPDATE_FAILURE_INVALID_PARAMETER"
],
"default": "UPDATE_FAILURE_UNKNOWN"
},
"lnrpcUtxo": {
"type": "object",
"properties": {