Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaStorageBootstrapper ¶
func NewMetaStorageBootstrapper(arguments ArgsStorageBootstrapper) (*metaStorageBootstrapper, error)
NewMetaStorageBootstrapper is method used to create a nes storage bootstrapper
func NewShardStorageBootstrapper ¶
func NewShardStorageBootstrapper(arguments ArgsStorageBootstrapper) (*shardStorageBootstrapper, error)
NewShardStorageBootstrapper is method used to create a nes storage bootstrapper
Types ¶
type ArgsStorageBootstrapper ¶ added in v1.0.41
type ArgsStorageBootstrapper 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
ResolversFinder dataRetriever.ResolversFinder
BlockTracker process.BlockTracker
}
ArgsStorageBootstrapper is structure used to create a new storage bootstrapper
Click to show internal directories.
Click to hide internal directories.