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

Use a session protocol for some JSON-RPC methods #716

Open
devhawk opened this issue May 22, 2022 · 0 comments
Open

Use a session protocol for some JSON-RPC methods #716

devhawk opened this issue May 22, 2022 · 0 comments

Comments

@devhawk
Copy link
Contributor

devhawk commented May 22, 2022

Some types of remote operations would benefit from a stateful protocol such as WebSockets or SignalR. Examples:

  • SendRawTransaction and wait for results
  • Sever sends every new block that is minted (without needing to implement the entire P2P protocol)
  • Iterate over the results InvokeScript/InvokeFunction that returns an iterator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant