Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenOpt ¶
type GenOpt func(*Generator)
GenOpt for configuring Generator.
func WithLayerSize ¶
WithLayerSize configures average layer size.
type Generator ¶
type Generator struct { State State // contains filtered or unexported fields }
Generator for layers of blocks.
type SetupOpt ¶
type SetupOpt func(g *setupConf)
SetupOpt configures setup.
func WithSetupMinerRange ¶
WithSetupMinerRange number of miners will be selected between low and high values.
func WithSetupUnitsRange ¶
WithSetupUnitsRange adjusts units of the ATXs, which will directly affect block weight.
Click to show internal directories.
Click to hide internal directories.