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":129} | |
| InactiveCollators | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<AccountId>","keys_id":4,"value_id":721}} | |
| ActiveCollatorsForCurrentSession | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":721} | |
| 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":"pallet_inactivity_tracking:pallet:OfflineStatus","keys_id":0,"value_id":723}} |
Name | Type | Value | |
|---|---|---|---|
| MaxInactiveSessions | U32 | 05000000 | |
| MaxCollatorsPerSession | U32 | 64000000 | |
| MaxContainerChains | U32 | 64000000 | |
| CooldownLength | U32 | 02000000 |
Name | Docs |
|---|---|
| MaxCollatorsPerSessionReached | The size of a collator set for a session has already reached MaxCollatorsPerSession 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 |
| CollatorAlreadyNotifiedOffline | Error returned when the collator status is attempted to be set to offline when it has already been notified as offline |
| CollatorNotReadyToBeOnline | Error returned when the collator status is attempted to be set to online before its cooldown period is over |
| 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 |