@@ -594,14 +594,14 @@ pub trait ChannelSigner {
594594/// Policy checks should be implemented in this function, including checking the amount 
595595/// sent to us and checking the HTLCs. 
596596/// 
597- /// The preimages of outgoing  HTLCs that were fulfilled since the last commitment are provided. 
597+ /// The preimages of outbound  HTLCs that were fulfilled since the last commitment are provided. 
598598/// A validating signer should ensure that an HTLC output is removed only when the matching 
599599/// preimage is provided, or when the value to holder is restored. 
600600/// 
601601/// Note that all the relevant preimages will be provided, but there may also be additional 
602602/// irrelevant or duplicate preimages. 
603603fn  validate_holder_commitment ( & self ,  holder_tx :  & HolderCommitmentTransaction , 
604- 		preimages :  Vec < PaymentPreimage > )  -> Result < ( ) ,  ( ) > ; 
604+ 		outbound_htlc_preimages :  Vec < PaymentPreimage > )  -> Result < ( ) ,  ( ) > ; 
605605
606606	/// Returns the holder's channel public keys and basepoints. 
607607fn  pubkeys ( & self )  -> & ChannelPublicKeys ; 
@@ -1080,7 +1080,7 @@ impl ChannelSigner for InMemorySigner {
10801080		chan_utils:: build_commitment_secret ( & self . commitment_seed ,  idx) 
10811081	} 
10821082
1083- 	fn  validate_holder_commitment ( & self ,  _holder_tx :  & HolderCommitmentTransaction ,  _preimages :  Vec < PaymentPreimage > )  -> Result < ( ) ,  ( ) >  { 
1083+ 	fn  validate_holder_commitment ( & self ,  _holder_tx :  & HolderCommitmentTransaction ,  _outbound_htlc_preimages :  Vec < PaymentPreimage > )  -> Result < ( ) ,  ( ) >  { 
10841084		Ok ( ( ) ) 
10851085	} 
10861086
@@ -1102,7 +1102,7 @@ impl ChannelSigner for InMemorySigner {
11021102const  MISSING_PARAMS_ERR :  & ' static  str  = "ChannelSigner::provide_channel_parameters must be called before signing operations" ; 
11031103
11041104impl  EcdsaChannelSigner  for  InMemorySigner  { 
1105- 	fn  sign_counterparty_commitment ( & self ,  commitment_tx :  & CommitmentTransaction ,  _inbound_preimages :  Vec < PaymentPreimage > ,  _outbound_preimages :  Vec < PaymentPreimage > ,  secp_ctx :  & Secp256k1 < secp256k1:: All > )  -> Result < ( Signature ,  Vec < Signature > ) ,  ( ) >  { 
1105+ 	fn  sign_counterparty_commitment ( & self ,  commitment_tx :  & CommitmentTransaction ,  _inbound_htlc_preimages :  Vec < PaymentPreimage > ,  _outbound_htlc_preimages :  Vec < PaymentPreimage > ,  secp_ctx :  & Secp256k1 < secp256k1:: All > )  -> Result < ( Signature ,  Vec < Signature > ) ,  ( ) >  { 
11061106		let  trusted_tx = commitment_tx. trust ( ) ; 
11071107		let  keys = trusted_tx. keys ( ) ; 
11081108
@@ -1254,7 +1254,7 @@ impl TaprootChannelSigner for InMemorySigner {
12541254		todo ! ( ) 
12551255	} 
12561256
1257- 	fn  partially_sign_counterparty_commitment ( & self ,  counterparty_nonce :  PublicNonce ,  commitment_tx :  & CommitmentTransaction ,  incoming_preimages :  Vec < PaymentPreimage > ,  outgoing_preimages :  Vec < PaymentPreimage > ,  secp_ctx :  & Secp256k1 < All > )  -> Result < ( PartialSignatureWithNonce ,  Vec < schnorr:: Signature > ) ,  ( ) >  { 
1257+ 	fn  partially_sign_counterparty_commitment ( & self ,  counterparty_nonce :  PublicNonce ,  commitment_tx :  & CommitmentTransaction ,  inbound_htlc_preimages :  Vec < PaymentPreimage > ,  outbound_htlc_preimages :  Vec < PaymentPreimage > ,  secp_ctx :  & Secp256k1 < All > )  -> Result < ( PartialSignatureWithNonce ,  Vec < schnorr:: Signature > ) ,  ( ) >  { 
12581258		todo ! ( ) 
12591259	} 
12601260
0 commit comments