@@ -1129,6 +1129,7 @@ impl_writeable_tlv_based!(PendingChannelMonitorUpdate, {
11291129pub(super) enum ChannelPhase<SP: Deref> where SP::Target: SignerProvider {
11301130 UnfundedOutboundV1(OutboundV1Channel<SP>),
11311131 UnfundedInboundV1(InboundV1Channel<SP>),
1132+ #[allow(dead_code)] // TODO(dual_funding): Remove once creating V2 channels is enabled.
11321133 UnfundedOutboundV2(OutboundV2Channel<SP>),
11331134 UnfundedInboundV2(InboundV2Channel<SP>),
11341135 Funded(Channel<SP>),
@@ -4183,6 +4184,7 @@ pub(super) struct DualFundingChannelContext {
41834184 /// Note that the `our_funding_satoshis` field is equal to the total value of `our_funding_inputs`
41844185 /// minus any fees paid for our contributed weight. This means that change will never be generated
41854186 /// and the maximum value possible will go towards funding the channel.
4187+ #[allow(dead_code)] // TODO(dual_funding): Remove once contribution to V2 channels is enabled.
41864188 pub our_funding_inputs: Vec<(TxIn, TransactionU16LenLimited)>,
41874189}
41884190
@@ -8704,6 +8706,7 @@ pub(super) struct OutboundV2Channel<SP: Deref> where SP::Target: SignerProvider
87048706}
87058707
87068708impl<SP: Deref> OutboundV2Channel<SP> where SP::Target: SignerProvider {
8709+ #[allow(dead_code)] // TODO(dual_funding): Remove once creating V2 channels is enabled.
87078710 pub fn new<ES: Deref, F: Deref, L: Deref>(
87088711 fee_estimator: &LowerBoundedFeeEstimator<F>, entropy_source: &ES, signer_provider: &SP,
87098712 counterparty_node_id: PublicKey, their_features: &InitFeatures, funding_satoshis: u64,
@@ -9015,6 +9018,7 @@ impl<SP: Deref> InboundV2Channel<SP> where SP::Target: SignerProvider {
90159018 ///
90169019 /// [`msgs::AcceptChannelV2`]: crate::ln::msgs::AcceptChannelV2
90179020 #[cfg(test)]
9021+ #[allow(dead_code)] // TODO(dual_funding): Remove once contribution to V2 channels is enabled.
90189022 pub fn get_accept_channel_v2_message(&self) -> msgs::AcceptChannelV2 {
90199023 self.generate_accept_channel_v2_message()
90209024 }
0 commit comments