lnrpc+rpcserver: return meaningful responses instead of empty

This commit is contained in:
Oliver Gugger committed 2024-11-06 15:30:24 +01:00
1 parent d8c920fa7a
commit 45e13cead1
4 files changed
+2872 -2660

No files matched your search

+66 -9
View File
@@ -3263,7 +3263,13 @@
}
},
"lnrpcAbandonChannelResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the abandon operation."
}
}
},
"lnrpcAddInvoiceResponse": {
"type": "object",
@@ -4593,7 +4599,13 @@
}
},
"lnrpcConnectPeerResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the connect operation."
}
}
},
"lnrpcCustomMessage": {
"type": "object",
@@ -4635,7 +4647,13 @@
}
},
"lnrpcDeleteAllPaymentsResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the delete operation."
}
}
},
"lnrpcDeleteMacaroonIDResponse": {
"type": "object",
@@ -4647,10 +4665,22 @@
}
},
"lnrpcDeletePaymentResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the delete operation."
}
}
},
"lnrpcDisconnectPeerResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the disconnect operation."
}
}
},
"lnrpcEdgeLocator": {
"type": "object",
@@ -6922,7 +6952,14 @@
"description": " - ANCHOR: We resolved an anchor output.\n - INCOMING_HTLC: We are resolving an incoming htlc on chain. This if this htlc is\nclaimed, we swept the incoming htlc with the preimage. If it is timed\nout, our peer swept the timeout path.\n - OUTGOING_HTLC: We are resolving an outgoing htlc on chain. If this htlc is claimed,\nthe remote party swept the htlc with the preimage. If it is timed out,\nwe swept it with the timeout path.\n - COMMIT: We force closed and need to sweep our time locked commitment output."
},
"lnrpcRestoreBackupResponse": {
"type": "object"
"type": "object",
"properties": {
"num_restored": {
"type": "integer",
"format": "int64",
"description": "The number of channels successfully restored."
}
}
},
"lnrpcRestoreChanBackupRequest": {
"type": "object",
@@ -7133,7 +7170,13 @@
}
},
"lnrpcSendCustomMessageResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the send operation."
}
}
},
"lnrpcSendManyRequest": {
"type": "object",
@@ -7338,7 +7381,13 @@
"type": "object"
},
"lnrpcStopResponse": {
"type": "object"
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the stop operation."
}
}
},
"lnrpcStreamAuth": {
"type": "object",
@@ -7485,7 +7534,15 @@
}
},
"lnrpcVerifyChanBackupResponse": {
"type": "object"
"type": "object",
"properties": {
"chan_points": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"lnrpcVerifyMessageRequest": {
"type": "object",