Skip to content

Commit 4ce632d

Browse files
committed
f document lifetime of interactive_tx_signing_session
1 parent 73ca0ac commit 4ce632d

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
@@ -5037,6 +5037,13 @@ pub(super) struct FundedChannel<SP: Deref> where SP::Target: SignerProvider {
50375037
pub funding: FundingScope,
50385038
pending_funding: Vec<FundingScope>,
50395039
pub context: ChannelContext<SP>,
5040+
/// The signing session for the current interactive tx construction, if any.
5041+
///
5042+
/// This is populated when the interactive tx construction phase completes
5043+
/// (i.e., upon receiving a consecutive `tx_complete`) and the channel enters
5044+
/// the signing phase (`FundingNegotiated` state with the `INTERACTIVE_SIGNING` flag set).
5045+
///
5046+
/// This field is cleared once our counterparty sends a `channel_ready`.
50405047
pub interactive_tx_signing_session: Option<InteractiveTxSigningSession>,
50415048
holder_commitment_point: HolderCommitmentPoint,
50425049
/// Indicates whether this funded channel had been established with V2 channel

0 commit comments

Comments
 (0)