Skip to content

Commit 1daf975

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

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

channeld/channeld.c

Lines changed: 17 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,20 +3623,28 @@ 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)
@@ -3650,6 +3661,7 @@ static void resume_splice_negotiation(struct peer *peer,
36503661

36513662
peer_write(peer->pps, sigmsg);
36523663
}
3664+
status_info("Splicing signing.10");
36533665

36543666
their_pubkey = &peer->channel->funding_pubkey[REMOTE];
36553667

@@ -3741,6 +3753,7 @@ static void resume_splice_negotiation(struct peer *peer,
37413753
fmt_wally_psbt(tmpctx, current_psbt));
37423754
}
37433755
}
3756+
status_info("Splicing signing.11");
37443757

37453758
if (have_i_signed_inflight(peer, inflight)
37463759
&& have_they_signed_inflight(peer, inflight)) {
@@ -3835,6 +3848,7 @@ static void resume_splice_negotiation(struct peer *peer,
38353848
bitcoin_tx_input_set_witness(final_tx, splice_funding_index,
38363849
wit_stack);
38373850
}
3851+
status_info("Splicing signing.12");
38383852

38393853
if (recv_signature) {
38403854
/* We let core validate our peer's signatures are correct. */
@@ -3844,6 +3858,7 @@ static void resume_splice_negotiation(struct peer *peer,
38443858
send_signature || inflight->i_sent_sigs);
38453859
wire_sync_write(MASTER_FD, take(msg));
38463860
}
3861+
status_info("Splicing signing.13");
38473862

38483863
if (!do_i_sign_first(peer, current_psbt, our_role,
38493864
inflight->force_sign_first)
@@ -3855,6 +3870,7 @@ static void resume_splice_negotiation(struct peer *peer,
38553870
peer_write(peer->pps, sigmsg);
38563871
status_debug("Splice: we signed second");
38573872
}
3873+
status_info("Splicing signing.14");
38583874

38593875
if (send_signature) {
38603876
if (!recv_signature)
@@ -3867,6 +3883,7 @@ static void resume_splice_negotiation(struct peer *peer,
38673883
new_output_index);
38683884
wire_sync_write(MASTER_FD, take(msg));
38693885
}
3886+
status_info("Splicing signing.15");
38703887

38713888
audit_psbt(current_psbt, current_psbt);
38723889
}

connectd/multiplex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ static void send_ping(struct peer *peer)
579579
* That's OK, ping is just to make sure it's still alive, and clearly
580580
* it is. */
581581
if (time_before(peer->last_recv_time,
582-
timeabs_sub(tnow, time_from_sec(60)))) {
582+
timeabs_sub(tnow, time_from_sec(120)))) {
583583
/* Already have a ping in flight? */
584584
if (peer->expecting_pong != PONG_UNEXPECTED) {
585585
status_peer_debug(&peer->id, "Last ping unreturned:"

tests/test_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4216,9 +4216,9 @@ def test_ping_timeout(node_factory):
42164216
'dev-force-features': -7}])
42174217
l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
42184218

4219-
# Ping timers runs at 15-45 seconds, *but* only fires if also 60 seconds
4219+
# Ping timers runs at 15-45 seconds, *but* only fires if also 120 seconds
42204220
# after previous traffic.
4221-
l1.daemon.wait_for_log('dev_disconnect: xWIRE_PING', timeout=60 + 45 + 5)
4221+
l1.daemon.wait_for_log('dev_disconnect: xWIRE_PING', timeout=120 + 45 + 5)
42224222

42234223
# Next pign will cause hangup
42244224
l1.daemon.wait_for_log('Last ping unreturned: hanging up', timeout=45 + 5)

0 commit comments

Comments
 (0)