Merge branch 'gav-agile-coretime' of https://github.com/polkadot-fellows/RFCs into gav-agile-coretime

This commit is contained in:
Gav
2023-07-04 16:51:33 +02:00
+1 -1
View File
@@ -138,7 +138,7 @@ struct RegionRecord {
}
```
This map functions essentially as a linked list. With one region's `end` field functioning as the next region's key's `begin` field. It is keyyed by the sale index in order to allow the following sale period's Coretime to be manipulated during the `LEADIN_PERIOD` prior to it becoming allocatable.
This map functions essentially as a linked list. With one region's `end` field functioning as the next region's key's `begin` field. It is keyed by the sale index in order to allow the following sale period's Coretime to be manipulated during the `LEADIN_PERIOD` prior to it becoming allocatable.
An additional storage map is maintained to keep the "heads" of this linked list. It is called `NextRegion` and it maps `CoreIndex` to `Timeslice`, to indicate the earliest stored region of the given core.