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
Copy file name to clipboardExpand all lines: lightning/src/ln/channel.rs
+1-14
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ use ln::features::{ChannelFeatures, InitFeatures};
27
27
use ln::msgs;
28
28
use ln::msgs::{DecodeError,OptionalField,DataLossProtect};
29
29
use ln::script::ShutdownScript;
30
-
use ln::channelmanager::{PendingHTLCStatus,HTLCSource,HTLCFailReason,HTLCFailureMsg,PendingHTLCInfo,RAACommitmentOrder,BREAKDOWN_TIMEOUT,MIN_CLTV_EXPIRY_DELTA,MAX_LOCAL_BREAKDOWN_TIMEOUT};
30
+
use ln::channelmanager::{CounterpartyForwardingInfo,PendingHTLCStatus,HTLCSource,HTLCFailReason,HTLCFailureMsg,PendingHTLCInfo,RAACommitmentOrder,BREAKDOWN_TIMEOUT,MIN_CLTV_EXPIRY_DELTA,MAX_LOCAL_BREAKDOWN_TIMEOUT};
31
31
use ln::chan_utils::{CounterpartyCommitmentSecrets,TxCreationKeys,HTLCOutputInCommitment,HTLC_SUCCESS_TX_WEIGHT,HTLC_TIMEOUT_TX_WEIGHT, make_funding_redeemscript,ChannelPublicKeys,CommitmentTransaction,HolderCommitmentTransaction,ChannelTransactionParameters,CounterpartyChannelTransactionParameters,MAX_HTLCS, get_commitment_transaction_number_obscure_factor,ClosingTransaction};
32
32
use ln::chan_utils;
33
33
use chain::BestBlock;
@@ -310,19 +310,6 @@ impl HTLCCandidate {
310
310
}
311
311
}
312
312
313
-
/// Information needed for constructing an invoice route hint for this channel.
314
-
#[derive(Clone,Debug,PartialEq)]
315
-
pubstructCounterpartyForwardingInfo{
316
-
/// Base routing fee in millisatoshis.
317
-
pubfee_base_msat:u32,
318
-
/// Amount in millionths of a satoshi the channel will charge per transferred satoshi.
319
-
pubfee_proportional_millionths:u32,
320
-
/// The minimum difference in cltv_expiry between an ingoing HTLC and its outgoing counterpart,
321
-
/// such that the outgoing HTLC is forwardable to this counterparty. See `msgs::ChannelUpdate`'s
322
-
/// `cltv_expiry_delta` for more details.
323
-
pubcltv_expiry_delta:u16,
324
-
}
325
-
326
313
/// A return value enum for get_update_fulfill_htlc. See UpdateFulfillCommitFetch variants for
0 commit comments