issues
search
casper-network
/
casper-rust-sdk
Rust SDK for casper-node 2.+.
Apache License 2.0
1
stars
2
forks
source link
Node :: SSE Port :: Phase 1
#2
Open
asladeofgreen
opened
2 months ago
asladeofgreen
commented
2 months ago
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
commented
2 months ago
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
commented
2 months ago
Tests will be against an NCTL | CCTL | remote network.
In CI/CD a test network will be span up and integration tests executed accordingly.