@@ -42,7 +42,7 @@ use crate::events::bump_transaction::HTLCDescriptor;
42
42
use crate :: ln:: channel:: ANCHOR_OUTPUT_VALUE_SATOSHI ;
43
43
use crate :: ln:: { chan_utils, PaymentPreimage } ;
44
44
use crate :: ln:: chan_utils:: { HTLCOutputInCommitment , make_funding_redeemscript, ChannelPublicKeys , HolderCommitmentTransaction , ChannelTransactionParameters , CommitmentTransaction , ClosingTransaction } ;
45
- use crate :: ln:: msgs:: { UnsignedChannelAnnouncement , UnsignedGossipMessage } ;
45
+ use crate :: ln:: msgs:: { PartialSignatureWithNonce , UnsignedChannelAnnouncement , UnsignedGossipMessage } ;
46
46
use crate :: ln:: script:: ShutdownScript ;
47
47
use crate :: offers:: invoice:: UnsignedBolt12Invoice ;
48
48
use crate :: offers:: invoice_request:: UnsignedInvoiceRequest ;
@@ -1127,35 +1127,35 @@ impl TaprootChannelSigner for InMemorySigner {
1127
1127
todo ! ( )
1128
1128
}
1129
1129
1130
- fn partially_sign_counterparty_commitment ( & self , commitment_tx : & CommitmentTransaction , preimages : Vec < PaymentPreimage > , secp_ctx : & Secp256k1 < All > ) -> Result < ( PartialSignature , Vec < Signature > ) , ( ) > {
1130
+ fn partially_sign_counterparty_commitment ( & self , commitment_tx : & CommitmentTransaction , preimages : Vec < PaymentPreimage > , secp_ctx : & Secp256k1 < All > ) -> Result < ( PartialSignatureWithNonce , Vec < schnorr :: Signature > ) , ( ) > {
1131
1131
todo ! ( )
1132
1132
}
1133
1133
1134
- fn partially_sign_holder_commitment_and_htlcs ( & self , commitment_tx : & HolderCommitmentTransaction , secp_ctx : & Secp256k1 < All > ) -> Result < ( PartialSignature , Vec < Signature > ) , ( ) > {
1134
+ fn partially_sign_holder_commitment_and_htlcs ( & self , commitment_tx : & HolderCommitmentTransaction , secp_ctx : & Secp256k1 < All > ) -> Result < ( PartialSignature , Vec < schnorr :: Signature > ) , ( ) > {
1135
1135
todo ! ( )
1136
1136
}
1137
1137
1138
- fn sign_justice_revoked_output ( & self , justice_tx : & Transaction , input : usize , amount : u64 , per_commitment_key : & SecretKey , secp_ctx : & Secp256k1 < All > ) -> Result < Signature , ( ) > {
1138
+ fn sign_justice_revoked_output ( & self , justice_tx : & Transaction , input : usize , amount : u64 , per_commitment_key : & SecretKey , secp_ctx : & Secp256k1 < All > ) -> Result < schnorr :: Signature , ( ) > {
1139
1139
todo ! ( )
1140
1140
}
1141
1141
1142
- fn sign_justice_revoked_htlc ( & self , justice_tx : & Transaction , input : usize , amount : u64 , per_commitment_key : & SecretKey , htlc : & HTLCOutputInCommitment , secp_ctx : & Secp256k1 < All > ) -> Result < Signature , ( ) > {
1142
+ fn sign_justice_revoked_htlc ( & self , justice_tx : & Transaction , input : usize , amount : u64 , per_commitment_key : & SecretKey , htlc : & HTLCOutputInCommitment , secp_ctx : & Secp256k1 < All > ) -> Result < schnorr :: Signature , ( ) > {
1143
1143
todo ! ( )
1144
1144
}
1145
1145
1146
- fn sign_holder_htlc_transaction ( & self , htlc_tx : & Transaction , input : usize , htlc_descriptor : & HTLCDescriptor , secp_ctx : & Secp256k1 < All > ) -> Result < Signature , ( ) > {
1146
+ fn sign_holder_htlc_transaction ( & self , htlc_tx : & Transaction , input : usize , htlc_descriptor : & HTLCDescriptor , secp_ctx : & Secp256k1 < All > ) -> Result < schnorr :: Signature , ( ) > {
1147
1147
todo ! ( )
1148
1148
}
1149
1149
1150
- fn sign_counterparty_htlc_transaction ( & self , htlc_tx : & Transaction , input : usize , amount : u64 , per_commitment_point : & PublicKey , htlc : & HTLCOutputInCommitment , secp_ctx : & Secp256k1 < All > ) -> Result < Signature , ( ) > {
1150
+ fn sign_counterparty_htlc_transaction ( & self , htlc_tx : & Transaction , input : usize , amount : u64 , per_commitment_point : & PublicKey , htlc : & HTLCOutputInCommitment , secp_ctx : & Secp256k1 < All > ) -> Result < schnorr :: Signature , ( ) > {
1151
1151
todo ! ( )
1152
1152
}
1153
1153
1154
1154
fn partially_sign_closing_transaction ( & self , closing_tx : & ClosingTransaction , secp_ctx : & Secp256k1 < All > ) -> Result < PartialSignature , ( ) > {
1155
1155
todo ! ( )
1156
1156
}
1157
1157
1158
- fn sign_holder_anchor_input ( & self , anchor_tx : & Transaction , input : usize , secp_ctx : & Secp256k1 < All > ) -> Result < Signature , ( ) > {
1158
+ fn sign_holder_anchor_input ( & self , anchor_tx : & Transaction , input : usize , secp_ctx : & Secp256k1 < All > ) -> Result < schnorr :: Signature , ( ) > {
1159
1159
todo ! ( )
1160
1160
}
1161
1161
}
0 commit comments