Skip to content

Commit ce02067

Browse files
committed
f document lifetime of interactive_tx_signing_session
1 parent 3b1309d commit ce02067

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lightning/src/ln/channel.rs

+7
Original file line numberDiff line numberDiff line change
@@ -4969,6 +4969,13 @@ pub(super) struct DualFundingChannelContext {
49694969
pub(super) struct FundedChannel<SP: Deref> where SP::Target: SignerProvider {
49704970
pub funding: FundingScope,
49714971
pub context: ChannelContext<SP>,
4972+
/// The signing session for the current interactive tx construction, if any.
4973+
///
4974+
/// This is populated when the interactive tx construction phase completes
4975+
/// (i.e., upon receiving a consecutive `tx_complete`) and the channel enters
4976+
/// the signing phase (`FundingNegotiated` state with the `INTERACTIVE_SIGNING` flag set).
4977+
///
4978+
/// This field is cleared once our counterparty sends a `channel_ready`.
49724979
pub interactive_tx_signing_session: Option<InteractiveTxSigningSession>,
49734980
holder_commitment_point: HolderCommitmentPoint,
49744981
/// Indicates whether this funded channel had been established with V2 channel

0 commit comments

Comments
 (0)