We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 742ae60 commit 64e06faCopy full SHA for 64e06fa
1 file changed
protos/src/proto/ldk_node_server.proto
@@ -218,3 +218,23 @@ message ChannelConfig {
218
uint64 fee_rate_multiplier = 7;
219
}
220
221
+
222
+// Closes the channel specified by given request.
223
+// See more:
224
+// - https://docs.rs/ldk-node/latest/ldk_node/struct.Node.html#method.close_channel
225
+// - https://docs.rs/ldk-node/latest/ldk_node/struct.Node.html#method.force_close_channel
226
+message CloseChannelRequest {
227
228
+ // The channel id of the created channel that user can use to refer to channel.
229
+ bytes user_channel_id = 1;
230
231
+ // The hex-encoded public key of the node to close a channel with.
232
+ string counterparty_node_id = 2;
233
234
+ // Whether to force close the specified channel.
235
+ optional bool force_close = 3;
236
+}
237
238
+message CloseChannelResponse {
239
240
0 commit comments