oasisprotocol / oasis-core

Performant and Confidentiality-Preserving Smart Contracts + Blockchains
https://oasisprotocol.org
Apache License 2.0
330 stars 107 forks source link

Cache RA collateral (PCKs, TCB infos) in an on-chain registry #5758

Open kostko opened 5 days ago

kostko commented 5 days ago

We should cache RA collateral (PCKs, TCB infos, ...) in an on-chain registry in the consensus layer that can be looked up in case Intel services are not available. Most likely this would be a separate consensus service (ra), built in a modular way where Intel SGX is just one of the supported technologies.

Then a PCS client could be built that uses this service as a fallback in case the node's usual PCS endpoint is not available.

Also optimize size of node registration transactions by allowing references to on-chain collateral.