Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataPoolFromConfig ¶
func NewDataPoolFromConfig(args ArgsDataPool) (dataRetriever.PoolsHolder, error)
NewDataPoolFromConfig will return a new instance of a PoolsHolder TODO: unit tests
Types ¶
type ArgsDataPool ¶
type ArgsDataPool struct { Config *config.Config EconomicsData *economics.EconomicsData ShardCoordinator sharding.Coordinator }
ArgsDataPool holds the arguments needed for NewDataPoolFromConfig function
Click to show internal directories.
Click to hide internal directories.