Skip to content

Commit fcbfe58

Browse files
committed
docs: fix formula
1 parent 8a354a0 commit fcbfe58

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/cost-estimate/03-storage.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,24 @@ requirements.
103103
- $T_{\text{month}}$ = Number of seconds in a month (2,628,000)
104104
- $\text{Size}_{\text{IB}}$ = Size of each IB in bytes (98,608)
105105

106-
2. **EB Storage**: $$S_{\text{EB}} = N_{\text{EB\_stage}} \times N_{\text{stages}} \times (\text{Size}_{\text{EB\_header}} + \text{Size}_{\text{EB\_body}} \times N_{\text{IB\_refs}})$$
106+
2. **EB Storage**:
107+
108+
$$S_{\text{EB}} = N_{\text{EB\_stage}} \times N_{\text{stages}} \times (\text{Size}_{\text{EB\_header}} + \text{Size}_{\text{EB\_body}} \times N_{\text{IB\_refs}})$$
109+
107110
where:
108111
- $N_{\text{EB\_stage}}$ = Number of EBs per stage (1.5)
109112
- $N_{\text{stages}}$ = Number of stages per month (131,400)
110113
- $\text{Size}_{\text{EB\_header}}$ = EB header size (240 bytes)
111114
- $\text{Size}_{\text{EB\_body}}$ = EB body size per reference (32 bytes)
112115
- $N_{\text{IB\_refs}}$ = Number of IB references per EB (varies by IB rate)
113116

114-
1. **RB Storage**: $$S_{\text{RB}} = N_{\text{RB\_stage}} \times N_{\text{stages}} \times \text{Size}_{\text{RB}}$$
117+
3. **RB Storage**: $$S_{\text{RB}} = N_{\text{RB\_stage}} \times N_{\text{stages}} \times \text{Size}_{\text{RB}}$$
115118
where:
116119
- $N_{\text{RB\_stage}}$ = Number of RBs per stage (1)
117120
- $N_{\text{stages}}$ = Number of stages per month (131,400)
118121
- $\text{Size}_{\text{RB}}$ = Size of each RB (8,192 bytes = header + certificate)
119122

120-
2. **Total Chain State Storage**: $$S_{\text{total}} = S_{\text{IB}} + S_{\text{EB}} + S_{\text{RB}}$$
123+
4. **Total Chain State Storage**: $$S_{\text{total}} = S_{\text{IB}} + S_{\text{EB}} + S_{\text{RB}}$$
121124

122125
### Storage Calculation (0.05 IB/s)
123126

0 commit comments

Comments
 (0)