@@ -3598,11 +3598,14 @@ static void resume_splice_negotiation(struct peer *peer,
3598
3598
& peer -> channel -> funding_pubkey [REMOTE ],
3599
3599
splice_funding_index );
3600
3600
3601
+ status_info ("Splicing signing.1" );
3601
3602
msg = hsm_req (tmpctx , take (msg ));
3603
+ status_info ("Splicing signing.2" );
3602
3604
if (!fromwire_hsmd_sign_tx_reply (msg , & splice_sig ))
3603
3605
status_failed (STATUS_FAIL_HSM_IO ,
3604
3606
"Reading sign_splice_tx reply: %s" ,
3605
3607
tal_hex (tmpctx , msg ));
3608
+ status_info ("Splicing signing.3" );
3606
3609
3607
3610
/* Set the splice_sig on the splice funding tx psbt */
3608
3611
if (send_signature
@@ -3620,20 +3623,28 @@ static void resume_splice_negotiation(struct peer *peer,
3620
3623
& peer -> channel -> funding_pubkey [LOCAL ]),
3621
3624
fmt_bitcoin_signature (tmpctx , & splice_sig ),
3622
3625
fmt_wally_psbt (tmpctx , current_psbt ));
3626
+ status_info ("Splicing signing.4" );
3623
3627
3624
3628
txsig_tlvs = tlv_txsigs_tlvs_new (tmpctx );
3625
3629
txsig_tlvs -> shared_input_signature = & splice_sig .s ;
3626
3630
3631
+ status_info ("Splicing signing.5" );
3632
+
3627
3633
/* DTODO: is this finalize call required? */
3628
3634
psbt_finalize (current_psbt );
3629
3635
3636
+ status_info ("Splicing signing.6" );
3637
+
3630
3638
outws = psbt_to_witnesses (tmpctx , current_psbt ,
3631
3639
our_role , splice_funding_index );
3640
+ status_info ("Splicing signing.7" );
3632
3641
sigmsg = towire_tx_signatures (tmpctx , & peer -> channel_id ,
3633
3642
& inflight -> outpoint .txid , outws ,
3634
3643
txsig_tlvs );
3644
+ status_info ("Splicing signing.8" );
3635
3645
3636
3646
psbt_txid (tmpctx , current_psbt , & final_txid , NULL );
3647
+ status_info ("Splicing signing.9" );
3637
3648
3638
3649
if (do_i_sign_first (peer , current_psbt , our_role ,
3639
3650
inflight -> force_sign_first )
@@ -3650,6 +3661,7 @@ static void resume_splice_negotiation(struct peer *peer,
3650
3661
3651
3662
peer_write (peer -> pps , sigmsg );
3652
3663
}
3664
+ status_info ("Splicing signing.10" );
3653
3665
3654
3666
their_pubkey = & peer -> channel -> funding_pubkey [REMOTE ];
3655
3667
@@ -3741,6 +3753,7 @@ static void resume_splice_negotiation(struct peer *peer,
3741
3753
fmt_wally_psbt (tmpctx , current_psbt ));
3742
3754
}
3743
3755
}
3756
+ status_info ("Splicing signing.11" );
3744
3757
3745
3758
if (have_i_signed_inflight (peer , inflight )
3746
3759
&& have_they_signed_inflight (peer , inflight )) {
@@ -3835,6 +3848,7 @@ static void resume_splice_negotiation(struct peer *peer,
3835
3848
bitcoin_tx_input_set_witness (final_tx , splice_funding_index ,
3836
3849
wit_stack );
3837
3850
}
3851
+ status_info ("Splicing signing.12" );
3838
3852
3839
3853
if (recv_signature ) {
3840
3854
/* We let core validate our peer's signatures are correct. */
@@ -3844,6 +3858,7 @@ static void resume_splice_negotiation(struct peer *peer,
3844
3858
send_signature || inflight -> i_sent_sigs );
3845
3859
wire_sync_write (MASTER_FD , take (msg ));
3846
3860
}
3861
+ status_info ("Splicing signing.13" );
3847
3862
3848
3863
if (!do_i_sign_first (peer , current_psbt , our_role ,
3849
3864
inflight -> force_sign_first )
@@ -3855,6 +3870,7 @@ static void resume_splice_negotiation(struct peer *peer,
3855
3870
peer_write (peer -> pps , sigmsg );
3856
3871
status_debug ("Splice: we signed second" );
3857
3872
}
3873
+ status_info ("Splicing signing.14" );
3858
3874
3859
3875
if (send_signature ) {
3860
3876
if (!recv_signature )
@@ -3867,6 +3883,7 @@ static void resume_splice_negotiation(struct peer *peer,
3867
3883
new_output_index );
3868
3884
wire_sync_write (MASTER_FD , take (msg ));
3869
3885
}
3886
+ status_info ("Splicing signing.15" );
3870
3887
3871
3888
audit_psbt (current_psbt , current_psbt );
3872
3889
}
0 commit comments