File tree 7 files changed +69
-1
lines changed 7 files changed +69
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ export interface AddAutopilotSessionRequest {
29
29
noPrivacyMapper : boolean ;
30
30
/** Set to the ID of the group to link this session to, if any. */
31
31
linkedGroupId : Uint8Array | string ;
32
+ /**
33
+ * The privacy flags used by this session. If set, then privacy_flags_set must
34
+ * be set.
35
+ */
36
+ privacyFlags : string ;
37
+ /** Indicates whether privacy flags are set. */
38
+ privacyFlagsSet : boolean ;
32
39
}
33
40
34
41
export interface AddAutopilotSessionRequest_FeaturesEntry {
@@ -102,6 +109,11 @@ export interface Feature {
102
109
requiresUpgrade : boolean ;
103
110
/** The JSON-marshaled representation of a feature's default configuration. */
104
111
defaultConfig : string ;
112
+ /**
113
+ * This feature may require relaxed privacy obfuscation that can be enabled
114
+ * with these flags.
115
+ */
116
+ privacyFlags : string ;
105
117
}
106
118
107
119
export interface Feature_RulesEntry {
Original file line number Diff line number Diff line change @@ -139,6 +139,11 @@ export interface Session {
139
139
* a JSON-serialized configuration.
140
140
*/
141
141
featureConfigs : { [ key : string ] : string } ;
142
+ /**
143
+ * Privacy flags used for the session that determine how the privacy mapper
144
+ * operates.
145
+ */
146
+ privacyFlags : string ;
142
147
}
143
148
144
149
export interface Session_AutopilotFeatureInfoEntry {
@@ -197,6 +202,7 @@ export interface RuleValue {
197
202
sendToSelf : SendToSelf | undefined ;
198
203
channelRestrict : ChannelRestrict | undefined ;
199
204
peerRestrict : PeerRestrict | undefined ;
205
+ channelConstraint : ChannelConstraint | undefined ;
200
206
}
201
207
202
208
export interface RateLimit {
@@ -274,6 +280,15 @@ export interface PeerRestrict {
274
280
peerIds : string [ ] ;
275
281
}
276
282
283
+ export interface ChannelConstraint {
284
+ /** The minimum channel size autopilot has to set for a channel. */
285
+ minCapacitySat : string ;
286
+ /** The maximum channel size autopilot can set for a channel. */
287
+ maxCapacitySat : string ;
288
+ /** The maximum push amount for a channel. */
289
+ maxPushSat : string ;
290
+ }
291
+
277
292
/**
278
293
* Sessions is a service that gives access to the core functionalities of the
279
294
* daemon's session system.
Original file line number Diff line number Diff line change 10
10
"pool_release_tag" : " v0.6.4-beta" ,
11
11
"faraday_release_tag" : " v0.2.11-alpha" ,
12
12
"tapd_release_tag" : " v0.3.3" ,
13
- "lit_release_tag" : " v0.12.3 -alpha" ,
13
+ "lit_release_tag" : " v0.12.x -alpha" ,
14
14
"protoc_version" : " 21.9"
15
15
},
16
16
"scripts" : {
File renamed without changes.
Original file line number Diff line number Diff line change @@ -78,6 +78,17 @@ message AddAutopilotSessionRequest {
78
78
Set to the ID of the group to link this session to, if any.
79
79
*/
80
80
bytes linked_group_id = 8 ;
81
+
82
+ /*
83
+ The privacy flags used by this session. If set, then privacy_flags_set must
84
+ be set.
85
+ */
86
+ uint64 privacy_flags = 9 ;
87
+
88
+ /*
89
+ Indicates whether privacy flags are set.
90
+ */
91
+ bool privacy_flags_set = 10 ;
81
92
}
82
93
83
94
message FeatureConfig {
@@ -166,6 +177,12 @@ message Feature {
166
177
The JSON-marshaled representation of a feature's default configuration.
167
178
*/
168
179
string default_config = 6 ;
180
+
181
+ /*
182
+ This feature may require relaxed privacy obfuscation that can be enabled
183
+ with these flags.
184
+ */
185
+ uint64 privacy_flags = 7 ;
169
186
}
170
187
171
188
message RuleValues {
Original file line number Diff line number Diff line change @@ -212,6 +212,12 @@ message Session {
212
212
a JSON-serialized configuration.
213
213
*/
214
214
map <string , string > feature_configs = 18 ;
215
+
216
+ /*
217
+ Privacy flags used for the session that determine how the privacy mapper
218
+ operates.
219
+ */
220
+ uint64 privacy_flags = 19 ;
215
221
}
216
222
217
223
message MacaroonRecipe {
@@ -265,6 +271,7 @@ message RuleValue {
265
271
SendToSelf send_to_self = 6 ;
266
272
ChannelRestrict channel_restrict = 7 ;
267
273
PeerRestrict peer_restrict = 8 ;
274
+ ChannelConstraint channel_constraint = 9 ;
268
275
}
269
276
}
270
277
@@ -389,3 +396,20 @@ message PeerRestrict {
389
396
*/
390
397
repeated string peer_ids = 1 ;
391
398
}
399
+
400
+ message ChannelConstraint {
401
+ /*
402
+ The minimum channel size autopilot has to set for a channel.
403
+ */
404
+ uint64 min_capacity_sat = 1 [jstype = JS_STRING ];
405
+
406
+ /*
407
+ The maximum channel size autopilot can set for a channel.
408
+ */
409
+ uint64 max_capacity_sat = 2 [jstype = JS_STRING ];
410
+
411
+ /*
412
+ The maximum push amount for a channel.
413
+ */
414
+ uint64 max_push_sat = 3 [jstype = JS_STRING ];
415
+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments