Skip to content

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Jan 9, 2026

We now record start and end time for payment events, and for remote failures, which lets us easily identify slower paths and faulty nodes. We properly track the settlement of each individual payment now.

We also clean-up field names and harmonize those events. Note that we don't update the DB schema at that point: this will be done in another PR that batches all DB schema changes.

The main change is in PaymentEvents.scala: that's what reviewers should focus on first. Then we simply update the codebase to be able to provide the right timestamps in each event.

@DerEwige this PR introduces some of the data requested in #2977. Several other PRs will come to add more routing data in those events.

We now record start and end time for payment events, and for remote
failures, which lets us easily identify slower paths and faulty nodes.
We properly track the settlement of each individual payment now.

We also clean-up field names and harmonize those events. Note that we
don't update the DB schema at that point: this will be done in another
PR that batches all DB schema changes.
@t-bast t-bast requested review from pm47 and thomash-acinq January 9, 2026 09:53
We add a `startedAt` field to `PaymentSent` to take into account the
duration of path-finding, which is excluded from individual parts'
start time.
@t-bast t-bast requested a review from thomash-acinq January 9, 2026 12:46
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