# COTI Architecture

<figure><img src="/files/5eJzMqAfvSwdLtPBh5IA" alt=""><figcaption></figcaption></figure>

The COTI network is comprised of several core components:

1. **Full Nodes**: These nodes are responsible for validating transactions and ensuring the integrity of the COTI blockchain network. They act as the decentralized foundation of the network.
2. **Sequencer**: This component processes transactions (TXs) and organizes them into blocks. It coordinates transaction flow and ensures orderly addition to the chain.
3. **Executors**: Two separate executors that process blocks in a MPC manner:
   * **Red Blocks**: incoming blocks processed from the sequencer to the executors.
   * **Black Blocks**: outgoing blocks processed from the executor to the sequencer.
4. **GC Manager**: Stores the generated garbled circuits in data warehouse, these circuits are used by the executors for on-chain computation.
5. **Garbler**: Generates garbled circuits that are stored into the DB Manager to be used later on during on-chain computation.

The network uses a multi-tier architecture to optimize transaction flow and ensure scalability, with the sequencer bridging full nodes to the execution layer and the database manager and garbler handling persistence and post-processing.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coti.io/coti-documentation/how-coti-works/introduction/coti-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
