multi: rename LookupHtlc to LookupHtlcResolution for clarity

This commit is contained in:
yyforyongyu committed 2023-03-01 01:47:08 +08:00
1 parent 2bf84fbe41
commit c26917ee1f
11 files changed
+2952 -2939

No files matched your search

+7 -5
View File
@@ -583,19 +583,21 @@ service Lightning {
rpc ListAliases (ListAliasesRequest) returns (ListAliasesResponse);
/*
LookupHtlc retrieves a final htlc resolution from the database. If the htlc
has no final resolution yet, a NotFound grpc status code is returned.
LookupHtlcResolution retrieves a final htlc resolution from the database.
If the htlc has no final resolution yet, a NotFound grpc status code is
returned.
*/
rpc LookupHtlc (LookupHtlcRequest) returns (LookupHtlcResponse);
rpc LookupHtlcResolution (LookupHtlcResolutionRequest)
returns (LookupHtlcResolutionResponse);
}
message LookupHtlcRequest {
message LookupHtlcResolutionRequest {
uint64 chan_id = 1;
uint64 htlc_index = 2;
}
message LookupHtlcResponse {
message LookupHtlcResolutionResponse {
// Settled is true is the htlc was settled. If false, the htlc was failed.
bool settled = 1;