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

Constellation members validation #8

Open
9 tasks
orbitlens opened this issue Oct 11, 2019 · 0 comments
Open
9 tasks

Constellation members validation #8

orbitlens opened this issue Oct 11, 2019 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@orbitlens
Copy link
Contributor

Constellation members (regardless whether its Alpha or auditor) should force close incoming connection in case if:

Constellation member connection

  • Node public key doesn't belong to a known Alpha or auditor member.
  • Other party repeatedly sends invalid data: invalid messages format, invalid signatures, malformed requests, invalid apex numbers, etc.
  • Network connection problems detected: no keep-alive response, repeatedly failing WebSocket connection or multiple lost messages.
  • Auditors always refuse any incoming connections.

Client connection

  • Client doesn't have an account in this constellation (client should wait until the deposit is processed).
  • Client closed an account – all funds withdrawn.
  • Client with the same public key is logged in from another device (we should lift this restriction in the future versions).
  • Client repeatedly intentionally violates constellation limits: too many requests per seconds, inconsistent or malformed quantum requests, concurrent withdrawal requests.
  • Network connection problems detected: no keep-alive response, repeatedly failing WebSocket connection or multiple lost messages.
@orbitlens orbitlens added this to the alpha milestone Oct 11, 2019
@orbitlens orbitlens added the feature New feature or request label Oct 11, 2019
@orbitlens orbitlens self-assigned this Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants