rewards

package
v0.0.0-...-3bf8caa Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0, GPL-3.0, MIT 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