Skip to content

Commit 2c29e41

Browse files
committed
delme: test commit for CI
1 parent ffcd458 commit 2c29e41

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

channeld/channeld.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3598,11 +3598,14 @@ static void resume_splice_negotiation(struct peer *peer,
35983598
&peer->channel->funding_pubkey[REMOTE],
35993599
splice_funding_index);
36003600

3601+
status_info("Splicing signing.1");
36013602
msg = hsm_req(tmpctx, take(msg));
3603+
status_info("Splicing signing.2");
36023604
if (!fromwire_hsmd_sign_tx_reply(msg, &splice_sig))
36033605
status_failed(STATUS_FAIL_HSM_IO,
36043606
"Reading sign_splice_tx reply: %s",
36053607
tal_hex(tmpctx, msg));
3608+
status_info("Splicing signing.3");
36063609

36073610
/* Set the splice_sig on the splice funding tx psbt */
36083611
if (send_signature
@@ -3620,36 +3623,52 @@ static void resume_splice_negotiation(struct peer *peer,
36203623
&peer->channel->funding_pubkey[LOCAL]),
36213624
fmt_bitcoin_signature(tmpctx, &splice_sig),
36223625
fmt_wally_psbt(tmpctx, current_psbt));
3626+
status_info("Splicing signing.4");
36233627

36243628
txsig_tlvs = tlv_txsigs_tlvs_new(tmpctx);
36253629
txsig_tlvs->shared_input_signature = &splice_sig.s;
36263630

3631+
status_info("Splicing signing.5");
3632+
36273633
/* DTODO: is this finalize call required? */
36283634
psbt_finalize(current_psbt);
36293635

3636+
status_info("Splicing signing.6");
3637+
36303638
outws = psbt_to_witnesses(tmpctx, current_psbt,
36313639
our_role, splice_funding_index);
3640+
status_info("Splicing signing.7");
36323641
sigmsg = towire_tx_signatures(tmpctx, &peer->channel_id,
36333642
&inflight->outpoint.txid, outws,
36343643
txsig_tlvs);
3644+
status_info("Splicing signing.8");
36353645

36363646
psbt_txid(tmpctx, current_psbt, &final_txid, NULL);
3647+
status_info("Splicing signing.9");
36373648

36383649
if (do_i_sign_first(peer, current_psbt, our_role,
36393650
inflight->force_sign_first)
36403651
&& send_signature) {
3652+
status_info("Splicing signing.9A");
36413653
inflight->i_sent_sigs = true;
3654+
status_info("Splicing signing.9B");
36423655
msg = towire_channeld_update_inflight(NULL, current_psbt,
36433656
NULL, NULL,
36443657
inflight->locked_scid,
36453658
inflight->i_sent_sigs);
3659+
status_info("Splicing signing.9C");
36463660
wire_sync_write(MASTER_FD, take(msg));
36473661

3662+
status_info("Splicing signing.9D");
36483663
msg = towire_channeld_splice_sending_sigs(tmpctx, &final_txid);
3664+
status_info("Splicing signing.9E");
36493665
wire_sync_write(MASTER_FD, take(msg));
36503666

3667+
status_info("Splicing signing.9F");
36513668
peer_write(peer->pps, sigmsg);
3669+
status_info("Splicing signing.9G");
36523670
}
3671+
status_info("Splicing signing.10");
36533672

36543673
their_pubkey = &peer->channel->funding_pubkey[REMOTE];
36553674

@@ -3741,6 +3760,7 @@ static void resume_splice_negotiation(struct peer *peer,
37413760
fmt_wally_psbt(tmpctx, current_psbt));
37423761
}
37433762
}
3763+
status_info("Splicing signing.11");
37443764

37453765
if (have_i_signed_inflight(peer, inflight)
37463766
&& have_they_signed_inflight(peer, inflight)) {
@@ -3835,6 +3855,7 @@ static void resume_splice_negotiation(struct peer *peer,
38353855
bitcoin_tx_input_set_witness(final_tx, splice_funding_index,
38363856
wit_stack);
38373857
}
3858+
status_info("Splicing signing.12");
38383859

38393860
if (recv_signature) {
38403861
/* We let core validate our peer's signatures are correct. */
@@ -3844,6 +3865,7 @@ static void resume_splice_negotiation(struct peer *peer,
38443865
send_signature || inflight->i_sent_sigs);
38453866
wire_sync_write(MASTER_FD, take(msg));
38463867
}
3868+
status_info("Splicing signing.13");
38473869

38483870
if (!do_i_sign_first(peer, current_psbt, our_role,
38493871
inflight->force_sign_first)
@@ -3855,6 +3877,7 @@ static void resume_splice_negotiation(struct peer *peer,
38553877
peer_write(peer->pps, sigmsg);
38563878
status_debug("Splice: we signed second");
38573879
}
3880+
status_info("Splicing signing.14");
38583881

38593882
if (send_signature) {
38603883
if (!recv_signature)
@@ -3867,6 +3890,7 @@ static void resume_splice_negotiation(struct peer *peer,
38673890
new_output_index);
38683891
wire_sync_write(MASTER_FD, take(msg));
38693892
}
3893+
status_info("Splicing signing.15");
38703894

38713895
audit_psbt(current_psbt, current_psbt);
38723896
}

0 commit comments

Comments
 (0)