f321x / cashu-escrow-kit

Ecash escrow provider and client concept. Ecash hackathon project with @rodant.
MIT License
14 stars 3 forks source link

Coordinator exits on RecvError/Connection close #11

Closed f321x closed 1 month ago

f321x commented 2 months ago

As the coordinator should be a long running application maybe we could also try to reinitialize the coordinator (close all connection/subscriptions and set them up again) on error, and check if the error doesn't happen again in a specified timeframe (e.g. 30 mins), so it would be more reliable and not crash if there is a cause (e.g. short internet outage) that closes the relay pool from time to time.

rodant commented 1 month ago

Implemented.