-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature Request - Scheduled Outlay Clearing #94
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prism bindings track a member outlay variable that represents the sats intended for the destination. At the moment, payout attempts only occur when an incoming payment arrives on an offer. It would be preferable for the prism plugin to pay-out any member outlays (where outlay>payment_threshold_msat) periodically in the background (on a configurable basis).
A related problem is that when a member outlay has a large positive number, the payout tries to make the entire payment in one attempt, which usually results in payment failure (why is the outlay large and positive in the first place?). A better approach might be to pay-out smaller values in attempt to clear outlays incrementally.
The text was updated successfully, but these errors were encountered: