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
Onchain_utils aims to gather interfaces to communicate between
onchain channel transactions parser (ChannelMonitor) and outputs
claiming logic (OnchainTxHandler). These interfaces are data
structures, generated per-case by ChannelMonitor and consumed
blindly by OnchainTxHandler.
Copy file name to clipboardExpand all lines: lightning/src/chain/channelmonitor.rs
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,8 @@ use ln::msgs::DecodeError;
39
39
use ln::chan_utils;
40
40
use ln::chan_utils::{CounterpartyCommitmentSecrets,HTLCOutputInCommitment,HTLCType,ChannelTransactionParameters,HolderCommitmentTransaction};
41
41
use ln::channelmanager::{BestBlock,HTLCSource};
42
-
use ln::onchaintx::{OnchainTxHandler,InputDescriptors};
42
+
use ln::onchaintx::OnchainTxHandler;
43
+
use ln::onchain_utils::InputDescriptors;
43
44
use chain;
44
45
use chain::WatchedOutput;
45
46
use chain::chaininterface::{BroadcasterInterface,FeeEstimator};
@@ -3052,7 +3053,8 @@ mod tests {
3052
3053
use chain::transaction::OutPoint;
3053
3054
use ln::{PaymentPreimage,PaymentHash};
3054
3055
use ln::channelmanager::BestBlock;
3055
-
use ln::onchaintx::{OnchainTxHandler,InputDescriptors};
3056
+
use ln::onchain_utils;
3057
+
use ln::onchain_utils::InputDescriptors;
3056
3058
use ln::chan_utils;
3057
3059
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,ChannelTransactionParameters,HolderCommitmentTransaction,CounterpartyChannelTransactionParameters};
3058
3060
use util::test_utils::{TestLogger,TestBroadcaster,TestFeeEstimator};
0 commit comments