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/chain/keysinterface.rs
+4-11
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ use util::ser::{Writeable, Writer, Readable};
34
34
35
35
use chain::transaction::OutPoint;
36
36
use ln::chan_utils;
37
-
use ln::chan_utils::{HTLCOutputInCommitment, make_funding_redeemscript,ChannelPublicKeys,HolderCommitmentTransaction,ChannelTransactionParameters,CommitmentTransaction};
37
+
use ln::chan_utils::{HTLCOutputInCommitment, make_funding_redeemscript,ChannelPublicKeys,HolderCommitmentTransaction,ChannelTransactionParameters,CommitmentTransaction,ClosingTransaction};
38
38
use ln::msgs::UnsignedChannelAnnouncement;
39
39
use ln::script::ShutdownScript;
40
40
@@ -322,7 +322,7 @@ pub trait BaseSign {
322
322
///
323
323
/// Note that, due to rounding, there may be one "missing" satoshi, and either party may have
Copy file name to clipboardExpand all lines: lightning/src/ln/channel.rs
+14-14
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ use ln::msgs;
28
28
use ln::msgs::{DecodeError,OptionalField,DataLossProtect};
29
29
use ln::script::ShutdownScript;
30
30
use ln::channelmanager::{PendingHTLCStatus,HTLCSource,HTLCFailReason,HTLCFailureMsg,PendingHTLCInfo,RAACommitmentOrder,BREAKDOWN_TIMEOUT,MIN_CLTV_EXPIRY_DELTA,MAX_LOCAL_BREAKDOWN_TIMEOUT};
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,build_closing_transaction};
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;
34
34
use chain::chaininterface::{FeeEstimator,ConfirmationTarget};
returnErr(ChannelError::Close(format!("Remote sent us a closing_signed with a fee other than the value they can claim. Fee in message: {}. Actual closing tx fee: {}", msg.fee_satoshis, used_total_fee)));
Copy file name to clipboardExpand all lines: lightning/src/util/enforcing_trait_impls.rs
+4-2
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
// You may not use this file except in accordance with one or both of these
8
8
// licenses.
9
9
10
-
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,HolderCommitmentTransaction,CommitmentTransaction,ChannelTransactionParameters,TrustedCommitmentTransaction};
10
+
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,HolderCommitmentTransaction,CommitmentTransaction,ChannelTransactionParameters,TrustedCommitmentTransaction,ClosingTransaction};
11
11
use ln::{chan_utils, msgs};
12
12
use chain::keysinterface::{Sign,InMemorySigner,BaseSign};
13
13
@@ -182,7 +182,9 @@ impl BaseSign for EnforcingSigner {
0 commit comments