Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduledDataSyncer ¶
type ScheduledDataSyncer interface { UpdateSyncDataIfNeeded(notarizedShardHeader data.ShardHeaderHandler) (data.ShardHeaderHandler, map[string]data.HeaderHandler, error) GetRootHashToSync(notarizedShardHeader data.ShardHeaderHandler) []byte IsInterfaceNil() bool }
ScheduledDataSyncer interface allows to synchronize the correct headers and root hash with or without scheduled sc calls feature activated.
type ScheduledDataSyncerCreateArgs ¶
type ScheduledDataSyncerCreateArgs struct { ScheduledTxsHandler process.ScheduledTxsExecutionHandler HeadersSyncer epochStart.HeadersByHashSyncer MiniBlocksSyncer epochStart.PendingMiniBlocksSyncHandler TxSyncer update.TransactionsSyncHandler ScheduledEnableEpoch uint32 }
ScheduledDataSyncerCreateArgs holds the arguments to create a scheduled data syncer factory
type ScheduledDataSyncerCreator ¶
type ScheduledDataSyncerCreator interface { Create(args *ScheduledDataSyncerCreateArgs) (ScheduledDataSyncer, error) IsInterfaceNil() bool }
ScheduledDataSyncerCreator is the interface implemented by the scheduled data syncer factory allowing to create scheduled data syncer instances
Click to show internal directories.
Click to hide internal directories.