rewards

package
v4.0.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunPrecomputeRewardsAndPenaltiesTests

func RunPrecomputeRewardsAndPenaltiesTests(t *testing.T, config string)

RunPrecomputeRewardsAndPenaltiesTests executes "rewards/{basic, leak, random}" tests.

Types

type Delta

type Delta struct {
	Rewards   []uint64 `json:"rewards"`
	Penalties []uint64 `json:"penalties"`
}

Delta contains list of rewards and penalties.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL