Skip to content

Commit b52a75c

Browse files
removed comments from async backing docs
1 parent 85df8ce commit b52a75c

File tree

1 file changed

+1
-103
lines changed

1 file changed

+1
-103
lines changed

.reference/parachains/consensus/async-backing.md

Lines changed: 1 addition & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ The following configurations can be set by on-chain governance, dictating how ma
2020

2121
## Synchronous VS. Asynchronous Processing
2222

23-
<!-- In the synchronous scenario, both the collators and validators draw context from the relay parent of the prior parablock, which lives on the relay chain. This makes the Backing and Generation steps tightly coupled to the prior parablock completing the inclusion pipeline. As a result, one parablock can be processed *every other* relay block, and only `0.5` seconds are assigned for execution. -->
24-
2523
The Polkadot-parachain protocol originally operated in synchronous mode, where both collators and validators drew context exclusively from the relay parent of the prior parablock, which lives on the relay chain. This made the Backing and Generation steps tightly coupled to the prior parablock completing the entire inclusion pipeline. As a result, one parablock could only be processed every other relay block, with just 0.5 seconds assigned for execution.
2624

2725
```mermaid
@@ -91,10 +89,6 @@ gantt
9189
9290
```
9391

94-
<!-- In the asynchronous scenario, where both the collators and validators have access to [Unincluded Segments](/reference/parachains/consensus/inclusion-pipeline) as an additional context source, the Backing and Generation steps are no longer coupled to the prior block completing the full inclusion pipeline. Instead, the prior parablock only needs to complete the generation step and be added to the Unincluded Segments before the next parablock can begin the Backing and Generation steps.
95-
96-
This results in one parablock being processed *every* relay block, and allows for `2` seconds of execution. -->
97-
9892
The modern protocol now uses asynchronous backing, where both collators and validators have access to [unincluded segments](/reference/parachains/consensus/inclusion-pipeline){target=\_blank} as an additional context source. The Backing and Generation steps are no longer coupled to the prior block completing the full inclusion pipeline. Instead, the prior parablock only needs to complete the generation step and be added to the Unincluded Segments before the next parablock can begin the Backing and Generation steps.
9993

10094
This results in one parablock being processed every relay block (instead of every other relay block), and allows for more time to execute during the Generation step (0.5s → 2s).
@@ -172,100 +166,4 @@ gantt
172166
section P4
173167
X : item1, 1918, 1920
174168
Backing : item2, 1920, 1930
175-
```
176-
177-
<!-- In the multi-core scenario, by using elastic scaling we can further increase the the number of parablocks processed for each relay block. By using two cores, here we double the number of parablocks being processed in a 30 second period:
178-
179-
```mermaid
180-
---
181-
displayMode: compact
182-
config:
183-
themeCSS: "
184-
#item1 { fill: #450693; stroke: #450693; } \n
185-
#item2 { fill: #8C00FF; stroke: #8C00FF; } \n
186-
#item3 { fill: #FFC400; stroke: #FFC400; } \n
187-
#r { fill: #eb4172; stroke: none; } \n
188-
#p1padTop { display: none; } \n
189-
text.taskText[id^=p1padTop] { fill: none !important; color: #000 !important; } \n
190-
191-
192-
/* Default inside task text: white */ \n
193-
.taskText { fill: #fff !important; color: #fff !important; font-weight: 700; font-size: 18px; } \n
194-
195-
/* Hide text inside bars */
196-
.taskText { display: none !important; } \n
197-
198-
/* Outside labels and section titles: black */ \n
199-
.taskTextOutside, .sectionTitle { fill: #000 !important; color: #000 !important; font-weight: 700; font-size: 18px; } \n
200-
201-
/* Inside text for #r items: black */ \n
202-
text.taskText[id^=r] { fill: #fff !important; } \n
203-
"
204-
themeVariables:
205-
sectionBkgColor: '#fff'
206-
gantt:
207-
numberSectionStyles: 1
208-
barHeight: 70
209-
gridLineStartPadding: 100
210-
---
211-
%%{init: {"gantt": {"barHeight": 70 }}}%%
212-
gantt
213-
dateFormat YYYY
214-
axisFormat %y
215-
%% this next line doesn't recognise 'decade' or 'year', but will silently ignore
216-
tickInterval '10year'
217-
218-
section F1
219-
R1 : r, 1905, 1907
220-
R2 : r, 1911, 1913
221-
R3 : r, 1917, 1919
222-
R4 : r, 1923, 1925
223-
R5 : r, 1929, 1931
224-
225-
section F2
226-
SPACING : p1padTop, 1901, 1930
227-
228-
section P1
229-
X : item1, 1900, 1902
230-
Backing : item2, 1902, 1912
231-
Inclusion : item3, 1912, 1918
232-
233-
section P2
234-
X : item1, 1906, 1908
235-
Backing : item2, 1908, 1918
236-
Inclusion : item3, 1918, 1924
237-
238-
section P3
239-
X : item1, 1912, 1914
240-
Backing : item2, 1914, 1924
241-
Inclusion : item3, 1924, 1930
242-
243-
section F20
244-
SPACING : p1padTop, 1901, 1930
245-
246-
section F21
247-
R1 : r, 1905, 1907
248-
R2 : r, 1911, 1913
249-
R3 : r, 1917, 1919
250-
R4 : r, 1923, 1925
251-
R5 : r, 1929, 1931
252-
253-
section F22
254-
SPACING : p1padTop, 1901, 1930
255-
256-
257-
section P4
258-
X : item1, 1900, 1902
259-
Backing : item2, 1902, 1912
260-
Inclusion : item3, 1912, 1918
261-
262-
section P5
263-
X : item1, 1906, 1908
264-
Backing : item2, 1908, 1918
265-
Inclusion : item3, 1918, 1924
266-
267-
section P6
268-
X : item1, 1912, 1914
269-
Backing : item2, 1914, 1924
270-
Inclusion : item3, 1924, 1930
271-
``` -->
169+
```

0 commit comments

Comments
 (0)