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

Auto-close CT's outgoing channels when observing growing failed transactions of ticket redemption #559

Open
2 tasks
QYuQianchen opened this issue Aug 22, 2024 · 0 comments
Labels
epic An issue which tracks multiple issues feature New feature or request

Comments

@QYuQianchen
Copy link

Description

Nodes (running with hoprd <v.2.1.4) may have run into a growing number of rejected tickets on certain channels when the unrealized balance of that channel is close to their threshold. The bug has been fixed in the new hoprd release v2.1.4.

However, the complete mitigation requires nodes to close those problematic incoming payment channels, and some failed to perform channel closure. An alternative is to let the source of channel (i.e. CT nodes) close them as outgoing channels.

Moreover, CT nodes can introduce an automated job so that when the number of failed ticket redemption transactions gets continuously increased over time (e.g. The failed redemption txn count of the current channel epoch, over past 1000 blocks ,exceeds 5) for certain outgoing channels, CT should actively close them.

Definition of done

@QYuQianchen QYuQianchen added epic An issue which tracks multiple issues feature New feature or request labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic An issue which tracks multiple issues feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant