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

Retry funding/closing transaction sending and tracing on startup #214

Open
contrun opened this issue Oct 8, 2024 · 0 comments
Open

Retry funding/closing transaction sending and tracing on startup #214

contrun opened this issue Oct 8, 2024 · 0 comments

Comments

@contrun
Copy link
Collaborator

contrun commented Oct 8, 2024

https://github.com/contrun/fiber/blob/832a4033e7dcce5404db4bd120808c3e1d8aa785/src/fiber/network.rs#L2342-L2378

The code that sends and traces of funding/closing transaction above only lives in the memory. The node may fail anytime when we are still waiting for the sending/tracing results. We need to retry the sending/tracing on a new startup of the node. Of course, this requires persisting relevant information first.

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

No branches or pull requests

1 participant