Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlocksGenerator ¶
func NewBlocksGenerator(args ArgBlocksGenerator) (*blocksGenerator, error)
NewBlocksGenerator returns a new instance of blocksGenerator
Types ¶
type ArgBlocksGenerator ¶
type ArgBlocksGenerator struct { Simulator SimulatorHandler BlockTimeInMs uint64 }
ArgBlocksGenerator defines the dto used to create a new instance of blocksGenerator
type BlocksGenerator ¶
type BlocksGenerator interface {
Close()
}
BlocksGenerator defines a component able to generate blocks
type SimulatorHandler ¶
SimulatorHandler defines what a simulator handler should be able to do
Click to show internal directories.
Click to hide internal directories.