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

Create settlement engine account after mutual peering #632

Open
kincaidoneil opened this issue Feb 26, 2020 · 0 comments
Open

Create settlement engine account after mutual peering #632

kincaidoneil opened this issue Feb 26, 2020 · 0 comments

Comments

@kincaidoneil
Copy link
Member

Unfortunately, #591 still has an issue: when peering two nodes, if the account that's prefunding is created before the other account, the settlement will be triggered immediately and then fail because the peer's account has not yet been created. Having the settlement engine backoff and retry isn't a great strategy, since the settlement engine has now idea why it failed or if/when it's messages will get through.

A better solution would be to only create the account on the settlement engine after the node knows the account has been created on the peer, which could be done via an interactive account creation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant