Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
Benchmark holds a difficulty and the average time the node takes to run the difficulty
func NewBenchmark ¶
NewBenchmark returns a new benchmark
func (Benchmark) GetAvgTime ¶
GetAvgTime returns the avgTime
func (Benchmark) GetDifficulty ¶
GetDifficulty returns the difficulty
func (*Benchmark) SetAvgTime ¶
SetAvgTime set's the avgTime
func (*Benchmark) SetDifficulty ¶
SetDifficulty set's the difficulty
Click to show internal directories.
Click to hide internal directories.