Skip to content

Commit be9a2b9

Browse files
committed
looprpc: add external HTLC flag to quote request
1 parent 036db66 commit be9a2b9

File tree

3 files changed

+102
-69
lines changed

3 files changed

+102
-69
lines changed

looprpc/client.pb.go

Lines changed: 80 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

looprpc/client.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,12 @@ message QuoteRequest {
355355
case of a Loop In.
356356
*/
357357
int32 conf_target = 2;
358+
359+
/**
360+
If external_htlc is true, we expect the htlc to be published by an external
361+
actor.
362+
*/
363+
bool external_htlc = 3;
358364
}
359365

360366
message QuoteResponse {

looprpc/client.swagger.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@
6969
"required": false,
7070
"type": "integer",
7171
"format": "int32"
72+
},
73+
{
74+
"name": "external_htlc",
75+
"description": "*\nIf external_htlc is true, we expect the htlc to be published by an external\nactor.",
76+
"in": "query",
77+
"required": false,
78+
"type": "boolean",
79+
"format": "boolean"
7280
}
7381
],
7482
"tags": [
@@ -147,6 +155,14 @@
147155
"required": false,
148156
"type": "integer",
149157
"format": "int32"
158+
},
159+
{
160+
"name": "external_htlc",
161+
"description": "*\nIf external_htlc is true, we expect the htlc to be published by an external\nactor.",
162+
"in": "query",
163+
"required": false,
164+
"type": "boolean",
165+
"format": "boolean"
150166
}
151167
],
152168
"tags": [

0 commit comments

Comments
 (0)