Documentation ¶
Index ¶
- func NewMetaStorageBootstrapper(arguments ArgsMetaStorageBootstrapper) (*metaStorageBootstrapper, error)
- func NewShardStorageBootstrapper(arguments ArgsShardStorageBootstrapper) (*shardStorageBootstrapper, error)
- type ArgsBaseStorageBootstrapper
- type ArgsMetaStorageBootstrapper
- type ArgsShardStorageBootstrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaStorageBootstrapper ¶
func NewMetaStorageBootstrapper(arguments ArgsMetaStorageBootstrapper) (*metaStorageBootstrapper, error)
NewMetaStorageBootstrapper is method used to create a new storage bootstrapper
func NewShardStorageBootstrapper ¶
func NewShardStorageBootstrapper(arguments ArgsShardStorageBootstrapper) (*shardStorageBootstrapper, error)
NewShardStorageBootstrapper is method used to create a new storage bootstrapper
Types ¶
type ArgsBaseStorageBootstrapper ¶
type ArgsBaseStorageBootstrapper struct { BootStorer process.BootStorer ForkDetector process.ForkDetector BlockProcessor process.BlockProcessor ChainHandler data.ChainHandler Marshalizer marshal.Marshalizer Store dataRetriever.StorageService Uint64Converter typeConverters.Uint64ByteSliceConverter BootstrapRoundIndex uint64 ShardCoordinator sharding.Coordinator NodesCoordinator sharding.NodesCoordinator EpochStartTrigger process.EpochStartTriggerHandler BlockTracker process.BlockTracker ChainID string ScheduledTxsExecutionHandler process.ScheduledTxsExecutionHandler MiniblocksProvider process.MiniBlockProvider }
ArgsBaseStorageBootstrapper is structure used to create a new storage bootstrapper
type ArgsMetaStorageBootstrapper ¶
type ArgsMetaStorageBootstrapper struct { ArgsBaseStorageBootstrapper PendingMiniBlocksHandler process.PendingMiniBlocksHandler }
ArgsMetaStorageBootstrapper is structure used to create a new storage bootstrapper for metachain
type ArgsShardStorageBootstrapper ¶
type ArgsShardStorageBootstrapper struct {
ArgsBaseStorageBootstrapper
}
ArgsShardStorageBootstrapper is structure used to create a new storage bootstrapper for shard
Click to show internal directories.
Click to hide internal directories.