Skip to content

Streaming data, and making http requests #40

Open
@levackt

Description

@levackt

This one's from discord, from user Moskalyk, one of the waterloo hackers.

Curious, if I was wanting to perform stream processing with rust, is there any reason why enigma secret contracts wouldn't be able to support this abstraction?
Similarly, performing HTTP GET requests (or any other typical rust function) within a secret contract should be okay?

On the 1st question, I've referred to the discussion on Large scale data architecture, the entire state is fully encrypted.

The 2nd I don't believe to be possible in the enclave, and referred to the FAQ about Oracles;

How do I get oracle data into a computation?
We currently do not support TLS or HTTP requests within a computation. We suggest that developers utilize a relayer model where applicable to obtain and submit this type of data.

I also believe if the library, any http in this case, uses any features not supported by the SGX environment it will fail to run.

Not sure if this is 100% correct and covers it, or maybe we can have further clarity in the FAQ or a blog on which features are supported and what's restricted by SGX.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions