@@ -1090,6 +1090,7 @@ impl_writeable_tlv_based!(PendingChannelMonitorUpdate, {
10901090pub(super) enum ChannelPhase<SP: Deref> where SP::Target: SignerProvider {
10911091 UnfundedOutboundV1(OutboundV1Channel<SP>),
10921092 UnfundedInboundV1(InboundV1Channel<SP>),
1093+ #[allow(dead_code)] // TODO(dual_funding): Remove once creating V2 channels is enabled.
10931094 UnfundedOutboundV2(OutboundV2Channel<SP>),
10941095 UnfundedInboundV2(InboundV2Channel<SP>),
10951096 Funded(Channel<SP>),
@@ -3887,6 +3888,7 @@ pub(super) struct DualFundingChannelContext {
38873888// Counterparty designates channel data owned by the another channel participant entity.
38883889pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {
38893890 pub context: ChannelContext<SP>,
3891+ #[allow(dead_code)] // TODO(dual_funding): Remove once contribution to V2 channels is enabled.
38903892 pub dual_funding_channel_context: Option<DualFundingChannelContext>,
38913893 /// The current interactive transaction construction session under negotiation.
38923894 pub interactive_tx_constructor: Option<InteractiveTxConstructor>,
@@ -8466,6 +8468,7 @@ pub(super) struct OutboundV2Channel<SP: Deref> where SP::Target: SignerProvider
84668468}
84678469
84688470impl<SP: Deref> OutboundV2Channel<SP> where SP::Target: SignerProvider {
8471+ #[allow(dead_code)] // TODO(dual_funding): Remove once creating V2 channels is enabled.
84698472 pub fn new<ES: Deref, F: Deref>(
84708473 fee_estimator: &LowerBoundedFeeEstimator<F>, entropy_source: &ES, signer_provider: &SP,
84718474 counterparty_node_id: PublicKey, their_features: &InitFeatures, funding_satoshis: u64,
@@ -8795,6 +8798,7 @@ impl<SP: Deref> InboundV2Channel<SP> where SP::Target: SignerProvider {
87958798 ///
87968799 /// [`msgs::AcceptChannelV2`]: crate::ln::msgs::AcceptChannelV2
87978800 #[cfg(test)]
8801+ #[allow(dead_code)] // TODO(dual_funding): Remove once contribution to V2 channels is enabled.
87988802 pub fn get_accept_channel_v2_message(&self) -> msgs::AcceptChannelV2 {
87998803 self.generate_accept_channel_v2_message()
88008804 }
0 commit comments