Name | Lookup | Parameters | |
|---|---|---|---|
| set_inactivity_tracking_status | 2300 | 1 | |
| enable_offline_marking | 2301 | 1 | |
| set_offline | 2302 | - | |
| set_online | 2303 | - | |
| notify_inactive_collator | 2304 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ActivityTrackingStatusSet | 2300 | ["ActivityTrackingStatus"] | |
| CollatorStatusUpdated | 2301 | ["Collator","bool"] |
Name | Type | |
|---|---|---|
| CurrentActivityTrackingStatus | {"origin":"PlainType","plain_type":"pallet_inactivity_tracking:pallet:ActivityTrackingStatus","PlainTypeValue":128} | |
| InactiveCollators | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<AccountId>","keys_id":4,"value_id":712}} | |
| ActiveCollatorsForCurrentSession | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":712} | |
| ActiveContainerChainsForCurrentSession | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":191} | |
| EnableMarkingOffline | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":8} | |
| OfflineCollators | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Bool","keys_id":0,"value_id":8}} |
Name | Type | Value | |
|---|---|---|---|
| MaxInactiveSessions | U32 | 05000000 | |
| MaxCollatorsPerSession | U32 | 64000000 | |
| MaxContainerChains | U32 | 64000000 |
Name | Docs |
|---|---|
| MaxCollatorsPerSessionReached | The size of a collator set for a session has already reached MaxCollatorsPerSession value |
| MaxContainerChainsReached | The size of a chains set for a session has already reached MaxContainerChains value |
| ActivityTrackingStatusUpdateSuspended | Error returned when the activity tracking status is attempted to be updated before the end session |
| ActivityTrackingStatusAlreadyEnabled | Error returned when the activity tracking status is attempted to be enabled when it is already enabled |
| ActivityTrackingStatusAlreadyDisabled | Error returned when the activity tracking status is attempted to be disabled when it is already disabled |
| MarkingOfflineNotEnabled | Error returned when the collator status is attempted to be set to offline when offline marking is disabled |
| CollatorNotEligibleCandidate | Error returned when the collator is not part of the sorted eligible candidates list |
| CollatorNotOnline | Error returned when the collator status is attempted to be set to offline when it is already offline |
| CollatorNotOffline | Error returned when the collator status is attempted to be set to online when it is already online |
| MarkingInvulnerableOfflineInvalid | Error returned when the collator attempted to be set offline is invulnerable |
| CollatorCannotBeNotifiedAsInactive | Error returned when the collator attempted to be set offline is not inactive |