You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issues represents an effort at documenting the necessary steps, changes and progress towards implementing v0.8.0-rc0 of the starknet rpc specs, including most notably the websocket api: this is similar to the Ethereum RPC subscription extension of the RPC spec provided by geth.
Functionality
RPC clients will be able to:
subscribe to information through a websocket connection
receive up-to-date information as soon as it is available without making a new RPC call
unsubscribe (close the websocket stream) when the information is no longer needed
Request
The following methods would have to be implemented
Is there an existing issue?
Motivation
This issues represents an effort at documenting the necessary steps, changes and progress towards implementing v0.8.0-rc0 of the starknet rpc specs, including most notably the websocket api: this is similar to the Ethereum RPC
subscription
extension of the RPC spec provided by geth.Functionality
RPC clients will be able to:
Request
The following methods would have to be implemented
Considerations
Warning
Potential DOS vectors:
DOS mitigation
Existing infrastructure
MiddleWareLayer already implements logic for counting websocket connections and disconnections as part of RpcMetrics. The rpc server also natively handles websockets, but additional logic will have to be added to route those calls to the actual method implementations.
Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: