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

Node :: SSE Port :: Phase 1 #2

Open
asladeofgreen opened this issue Jun 28, 2024 · 2 comments
Open

Node :: SSE Port :: Phase 1 #2

asladeofgreen opened this issue Jun 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@asladeofgreen
Copy link
Collaborator

asladeofgreen commented Jun 28, 2024

  • In Casper 2.0, the node continues to support an SSE server port.
  • There is now a single event channel over which all events are published.
  • The event set itself is fairly identical to 1.X.
@asladeofgreen asladeofgreen added the enhancement New feature or request label Jun 28, 2024
@asladeofgreen asladeofgreen changed the title Node :: Binary Port :: Get :: Information :: NodeStatus Node :: SSE Port :: Support Phase 1 Jul 11, 2024
@asladeofgreen asladeofgreen assigned ghost Jul 11, 2024
@asladeofgreen
Copy link
Collaborator Author

Scope:

  • SSE client that binds to a node's SSE port
  • Connection errors are handled.
  • Event decoding -> event type, id & payload (payload is not deserialised)

A client should be able to:

  • instantiate a struct encapsulating connection information.
  • instantiate a client that will expose a simple function: await_events(event_type, predicate, callback)

@asladeofgreen
Copy link
Collaborator Author

  • Tests will be against an NCTL | CCTL | remote network.
  • In CI/CD a test network will be span up and integration tests executed accordingly.

@asladeofgreen asladeofgreen changed the title Node :: SSE Port :: Support Phase 1 Node :: SSE Port :: Phase 1 Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant