Skip to content

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Nov 4, 2025

While trying to analyze logs of de-synchronized on-the-fly splices, I got stuck because the Offline and Syncing states don't contain enough details about the state of the channel's commitments. I'm adding that to the MDC.

The issue seems to be related to frequent disconnections/reconnections happening while the signing step is in-progress, and it looks as if at some point, some of the channel state was rolled back, but I can't figure out why without more logs...

This PR contains several independent commits, they are best reviewed separately.

It is confusing, even though it does what we expect.
This helps figure out reconnection issues where the splice state doesn't
match. We also include more logs in a few related places.
We aren't consistent with regards to updating the `_channels` map and
calling `processActions`: sometimes we do it first, sometimes second.

It's really hard to reason about this and figure out whether this may
have side effects or not, but it seems more consistent to update the
channel state first, then process its follow-up actions.
@t-bast t-bast requested a review from pm47 November 4, 2025 16:24
The funding indices should be enough.
@t-bast t-bast merged commit d3687d7 into master Nov 5, 2025
2 checks passed
@t-bast t-bast deleted the improve-latest-commit-logs branch November 5, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants