Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
fixup! docs: WIP add Node architecture overview
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelstanley committed Jun 19, 2023
1 parent 601c4de commit 860d2d3
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions offchain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Reader Data Flow

```mermaid
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart LR
A[State-fold Server] -->|Inputs via dispatcher/broker/proxy| B[Server Manager]
A -->|Inputs| C[Indexer]
Expand All @@ -17,29 +18,34 @@ flowchart LR
### Inspect Data Flow

```mermaid
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart LR
A[State-fold Server] -->|Inputs via dispatcher/broker/proxy| B[Server Manager]
C[Frontend] -->|Inspect Request| D[Inspect Server]
D -->|Inspect Request| B
B -->|Inspect Response| E[Inspect Server]
E -->|Inspect Response| F[Frontend]
```

### Validator Data Flow

```mermaid
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart LR
A[State-fold Server] -->|Inputs| B[Dispatcher]
B -->|Inputs| C(rollups-input-stream)
B -->|Inputs| C(rollups-inputs-stream)
C -->|Inputs| D[ServerManagerBrokerProxy]
D -->|Inputs| E[ServerManager]
E -->|Claims| F[ServerManagerBrokerProxy]
F -->|Claims| G[Dispatcher]
F -->|ClaimsBjs| G(rollups-claims-stream)
G -->|Claims| H[Dispatcher]
```

### Indexer consuming from Broker

```mermaid
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart
direction LR
subgraph validator
Expand Down Expand Up @@ -89,16 +95,9 @@ flowchart
### Host mode

```mermaid
flowchart
direction LR
style validator stroke-width:2px,stroke-dasharray: 5 5
style server-manager stroke-width:2px,stroke-dasharray: 5 5
style endpoints stroke-width:2px,stroke-dasharray: 5 5
style pod stroke-width:2px,stroke-dasharray: 5 5
flowchart LR
subgraph pod [Kubernetes pod]
end
subgraph validator
a1[Dispatcher]-->|gRPC| a2[State-fold Server]
end
Expand Down

0 comments on commit 860d2d3

Please sign in to comment.