rewards

package
v4.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: GPL-3.0 Imports: 14 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