Remove distinct in-memory config type
Open
@achamayou is already working on this.
Since Sep 8, 2026.
- Dominant language
- C++
- Stars
- 876
- Forks
- 260
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 157
Description
Another awkward hold-over from the SGX/ringbuffer days. We have a `host::CCHostConfig` type, that is directly JSON-serialisable - this is what the operators give us. We convert that to a near-identical-bar-some-naming-and-instantiation type called `ccf::StartupConfig`. One thing that used to do was strip out the host-only bits so the enclave didn't worry about them, but we want to push much of that reasoning into the "enclave" code. It also did some early validation/reification, but we think that can all be pushed to time-of-use, removing some TOCTOU concerns.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.