rpc: modify VerifyChanBackup to take either a Single or Multi

This commit is contained in:
Wilmer Paulino committed 2019-04-05 12:51:16 -07:00
1 parent 3a19afe46d
commit b71bb9400a
5 files changed
+669 -705

No files matched your search

+2 -12
View File
@@ -226,7 +226,7 @@
},
"/v1/channels/backup/verify": {
"post": {
"summary": "*\nVerifyChanBackup allows a caller to verify the integrity of a channel\nbackup snapshot. This method will accept both a packed Single, and also a\nPacked multi. Two bools are returned which indicate if the passed Single\n(if present) is valid and also if the passed Multi (if present) is valid.",
"summary": "*\nVerifyChanBackup allows a caller to verify the integrity of a channel backup\nsnapshot. This method will accept either a packed Single or a packed Multi.\nSpecifying both will result in an error.",
"operationId": "VerifyChanBackup",
"responses": {
"200": {
@@ -3370,17 +3370,7 @@
}
},
"lnrpcVerifyChanBackupResponse": {
"type": "object",
"properties": {
"singles_valid": {
"type": "boolean",
"format": "boolean"
},
"multi_valid": {
"type": "boolean",
"format": "boolean"
}
}
"type": "object"
},
"lnrpcVerifyMessageRequest": {
"type": "object",