You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/substrate/constants.md
+182-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ The following sections contain the module constants, also known as parameter typ
6
6
7
7
(NOTE: These were generated from a static/snapshot view of a recent Substrate master node. Some items may not be available in older nodes, or in any customized implementations.)
8
8
9
+
-**[assets](#assets)**
10
+
11
+
-**[authorship](#authorship)**
12
+
9
13
-**[babe](#babe)**
10
14
11
15
-**[balances](#balances)**
@@ -24,6 +28,8 @@ The following sections contain the module constants, also known as parameter typ
24
28
25
29
-**[identity](#identity)**
26
30
31
+
-**[imOnline](#imonline)**
32
+
27
33
-**[indices](#indices)**
28
34
29
35
-**[lottery](#lottery)**
@@ -34,6 +40,8 @@ The following sections contain the module constants, also known as parameter typ
34
40
35
41
-**[recovery](#recovery)**
36
42
43
+
-**[scheduler](#scheduler)**
44
+
37
45
-**[society](#society)**
38
46
39
47
-**[staking](#staking)**
@@ -48,12 +56,48 @@ The following sections contain the module constants, also known as parameter typ
-**summary**: The number of blocks back we should accept uncles. This means that we will deal with uncle-parents that are `UncleGenerations + 1` before `now`.
-**summary**: Indicator for whether an emergency origin is even allowed to happen. Some chains may want to set this permanently to `false`, others may want to condition it on things such as an upgrade having happened recently.
-**summary**: Maximum number of signed submissions that can be queued.
313
+
314
+
It is best to avoid adjusting this during an election, as it impacts downstream data structures. In particular, `SignedSubmissionIndices<T>` is bounded on this value. If you update this value during an election, you _must_ ensure that `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise, attempts to submit new solutions may cause a runtime panic.
-**summary**: The minimum amount of improvement to the solution score that defines a solution as "better" (in any phase).
@@ -273,6 +381,10 @@ ___
273
381
274
382
Must be no greater than `MaxQueueLen`.
275
383
384
+
### ignoredIssuance: `BalanceOf`
385
+
-**interface**: `api.consts.gilt.ignoredIssuance`
386
+
-**summary**: The issuance to ignore. This is subtracted from the `Currency`'s `total_issuance` to get the issuance by which we inflate or deflate the gilt.
387
+
276
388
### intakePeriod: `BlockNumber`
277
389
-**interface**: `api.consts.gilt.intakePeriod`
278
390
-**summary**: The number of blocks between consecutive attempts to issue more gilts in an effort to get to the target amount to be frozen.
-**summary**: Number of time we should try to generate a random number that has no modulo bias. The larger this number, the more potential computation is used for picking the winner, but also the more likely that the chosen winner is done fairly.
0 commit comments