minerrewards

package
v1.66.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MinerRewards = make(map[string]RewardPolicy)

Functions

This section is empty.

Types

type RewardPolicy

type RewardPolicy interface {
	GetConfigReward(cfg *types.Chain33Config, height int64) (int64, int64, int64)
	RewardMiners(cfg *types.Chain33Config, coinReward int64, miners []string, height int64) ([]*pt.ParaMinerReward, int64)
}

Jump to

Keyboard shortcuts

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