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
Is your feature request related to a problem? Please describe.
With http2 (and gRPC) streams it is possible to have longer lived connections from clients. Some endpoints need to be able to watch changes on the maps and report these changes back to the client through the stream. Currently the transaction (and derived maps) are static and do not support getting updates).
This should be ok to be a read-only endpoint so that it can't mutate anything.
Describe the solution you'd like
An API on the CCF map that enables updates to be obtained. Potentially registering a callback asking for a channel that events will be sent down. This should be given updates when they are committed.
Initially this could be registering for every change on a given map (and allow multiple registrations on different maps) but it may be useful to support registration for sub-parts of maps.
Describe alternatives you've considered
A separate component in the enclave that handles the client request and internally polls the CCF app but this is far from ideal.
The text was updated successfully, but these errors were encountered:
This isn't under active investigation right now, instead the user API focus is currently on containerization of business logic, but it will very likely be the focus of our attention once we have made progress there.
Is your feature request related to a problem? Please describe.
With http2 (and gRPC) streams it is possible to have longer lived connections from clients. Some endpoints need to be able to watch changes on the maps and report these changes back to the client through the stream. Currently the transaction (and derived maps) are static and do not support getting updates).
This should be ok to be a read-only endpoint so that it can't mutate anything.
Describe the solution you'd like
An API on the CCF map that enables updates to be obtained. Potentially registering a callback asking for a channel that events will be sent down. This should be given updates when they are committed.
Initially this could be registering for every change on a given map (and allow multiple registrations on different maps) but it may be useful to support registration for sub-parts of maps.
Describe alternatives you've considered
A separate component in the enclave that handles the client request and internally polls the CCF app but this is far from ideal.
The text was updated successfully, but these errors were encountered: