You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accept "all" in the CLI and MCP funding amount fields for channel
opening and splice-in. Represent each choice in a typed protobuf
oneof.
Dispatch announced, unannounced, and zero-reserve channel opens and
splice-in to the corresponding ldk-node with-all methods.
AI-assisted-by: OpenAI Codex
help = "The amount to commit to the channel, e.g. 100sat or 100000msat, must be a whole sat amount, cannot send msats on-chain."
423
+
help = "The amount to commit to the channel, e.g. 100sat or 100000msat, or 'all' to use all available on-chain funds. Exact amounts must be a whole sat amount."
423
424
)]
424
-
channel_amount:Amount,
425
+
channel_amount:AmountOrAll,
425
426
#[arg(long, help = "Amount to push to the remote side, e.g. 50sat or 50000msat")]
426
427
push_to_counterparty:Option<Amount>,
427
428
#[arg(long, help = "Whether the channel should be public")]
@@ -457,9 +458,9 @@ enum Commands {
457
458
#[arg(help = "The hex-encoded public key of the channel's counterparty node")]
458
459
counterparty_node_id:String,
459
460
#[arg(
460
-
help = "The amount to splice into the channel, e.g. 50sat or 50000msat, must be a whole sat amount, cannot send msats on-chain."
461
+
help = "The amount to splice into the channel, e.g. 50sat or 50000msat, or 'all' to use all available on-chain funds. Exact amounts must be a whole sat amount."
461
462
)]
462
-
splice_amount:Amount,
463
+
splice_amount:AmountOrAll,
463
464
},
464
465
#[command(about = "Decrease the channel balance by the given amount")]
0 commit comments