Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More robust channels timestamps #2674

Merged
merged 1 commit into from
May 25, 2023
Merged

More robust channels timestamps #2674

merged 1 commit into from
May 25, 2023

Conversation

pm47
Copy link
Member

@pm47 pm47 commented May 25, 2023

Previous implementation had the advantage of being all in one place, but it left holes:

  • last_connected_timestamp was only set after the first disconnection
  • in some corner cases the closed_timestamp was never set (nothing at stake, funding tx timeout, post-restart)

Previous implementation had the advantage of being all in one place, but it left holes:
- last_connected_timestamp was only set after the first disconnection
- in some corner cases the closed_timestamp was never set (nothing at stake, funding tx timeout)
@pm47 pm47 requested a review from t-bast May 25, 2023 15:28
@pm47 pm47 merged commit 71968d0 into master May 25, 2023
@pm47 pm47 deleted the channelsdb-timestamps branch May 25, 2023 16:03
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.

2 participants